/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.transcribe.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Provides detailed information about a specific transcription job. *
* * @see AWS * API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class TranscriptionJobSummary implements Serializable, Cloneable, StructuredPojo { /** ** The name of the transcription job. Job names are case sensitive and must be unique within an Amazon Web Services * account. *
*/ private String transcriptionJobName; /** ** The date and time the specified transcription job request was made. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.761000-07:00
represents a transcription job that started processing at 12:32 PM
* UTC-7 on May 4, 2022.
*
* The date and time your transcription job began processing. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.789000-07:00
represents a transcription job that started processing at 12:32 PM
* UTC-7 on May 4, 2022.
*
* The date and time the specified transcription job finished processing. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:33:13.922000-07:00
represents a transcription job that started processing at 12:33 PM
* UTC-7 on May 4, 2022.
*
* The language code used to create your transcription. *
*/ private String languageCode; /** ** Provides the status of your transcription job. *
*
* If the status is COMPLETED
, the job is finished and you can find the results at the location
* specified in TranscriptFileUri
(or RedactedTranscriptFileUri
, if you requested
* transcript redaction). If the status is FAILED
, FailureReason
provides details on why
* your transcription job failed.
*
* If TranscriptionJobStatus
is FAILED
, FailureReason
contains information
* about why the transcription job failed. See also: Common Errors.
*
* Indicates where the specified transcription output is stored. *
*
* If the value is CUSTOMER_BUCKET
, the location is the Amazon S3 bucket you specified using the
* OutputBucketName
parameter in your request. If you also included OutputKey
in your
* request, your output is located in the path you specified in your request.
*
* If the value is SERVICE_BUCKET
, the location is a service-managed Amazon S3 bucket. To access a
* transcript stored in a service-managed bucket, use the URI shown in the TranscriptFileUri
or
* RedactedTranscriptFileUri
field.
*
* The content redaction settings of the transcription job. *
*/ private ContentRedaction contentRedaction; private ModelSettings modelSettings; /** *
* Indicates whether automatic language identification was enabled (TRUE
) for the specified
* transcription job.
*
* Indicates whether automatic multi-language identification was enabled (TRUE
) for the specified
* transcription job.
*
* The confidence score associated with the language identified in your media file. *
** Confidence scores are values between 0 and 1; a larger value indicates a higher probability that the identified * language correctly matches the language spoken in your media. *
*/ private Float identifiedLanguageScore; /** *
* The language codes used to create your transcription job. This parameter is used with multi-language
* identification. For single-language identification, the singular version of this parameter,
* LanguageCode
, is present.
*
* Indicates whether toxicity detection was enabled for the specified transcription job. *
*/ private java.util.List* The name of the transcription job. Job names are case sensitive and must be unique within an Amazon Web Services * account. *
* * @param transcriptionJobName * The name of the transcription job. Job names are case sensitive and must be unique within an Amazon Web * Services account. */ public void setTranscriptionJobName(String transcriptionJobName) { this.transcriptionJobName = transcriptionJobName; } /** ** The name of the transcription job. Job names are case sensitive and must be unique within an Amazon Web Services * account. *
* * @return The name of the transcription job. Job names are case sensitive and must be unique within an Amazon Web * Services account. */ public String getTranscriptionJobName() { return this.transcriptionJobName; } /** ** The name of the transcription job. Job names are case sensitive and must be unique within an Amazon Web Services * account. *
* * @param transcriptionJobName * The name of the transcription job. Job names are case sensitive and must be unique within an Amazon Web * Services account. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJobSummary withTranscriptionJobName(String transcriptionJobName) { setTranscriptionJobName(transcriptionJobName); return this; } /** ** The date and time the specified transcription job request was made. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.761000-07:00
represents a transcription job that started processing at 12:32 PM
* UTC-7 on May 4, 2022.
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.761000-07:00
represents a transcription job that started processing at
* 12:32 PM UTC-7 on May 4, 2022.
*/
public void setCreationTime(java.util.Date creationTime) {
this.creationTime = creationTime;
}
/**
*
* The date and time the specified transcription job request was made. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.761000-07:00
represents a transcription job that started processing at 12:32 PM
* UTC-7 on May 4, 2022.
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.761000-07:00
represents a transcription job that started processing at
* 12:32 PM UTC-7 on May 4, 2022.
*/
public java.util.Date getCreationTime() {
return this.creationTime;
}
/**
*
* The date and time the specified transcription job request was made. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.761000-07:00
represents a transcription job that started processing at 12:32 PM
* UTC-7 on May 4, 2022.
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.761000-07:00
represents a transcription job that started processing at
* 12:32 PM UTC-7 on May 4, 2022.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TranscriptionJobSummary withCreationTime(java.util.Date creationTime) {
setCreationTime(creationTime);
return this;
}
/**
*
* The date and time your transcription job began processing. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.789000-07:00
represents a transcription job that started processing at 12:32 PM
* UTC-7 on May 4, 2022.
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.789000-07:00
represents a transcription job that started processing at
* 12:32 PM UTC-7 on May 4, 2022.
*/
public void setStartTime(java.util.Date startTime) {
this.startTime = startTime;
}
/**
*
* The date and time your transcription job began processing. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.789000-07:00
represents a transcription job that started processing at 12:32 PM
* UTC-7 on May 4, 2022.
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.789000-07:00
represents a transcription job that started processing at
* 12:32 PM UTC-7 on May 4, 2022.
*/
public java.util.Date getStartTime() {
return this.startTime;
}
/**
*
* The date and time your transcription job began processing. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.789000-07:00
represents a transcription job that started processing at 12:32 PM
* UTC-7 on May 4, 2022.
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:32:58.789000-07:00
represents a transcription job that started processing at
* 12:32 PM UTC-7 on May 4, 2022.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TranscriptionJobSummary withStartTime(java.util.Date startTime) {
setStartTime(startTime);
return this;
}
/**
*
* The date and time the specified transcription job finished processing. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:33:13.922000-07:00
represents a transcription job that started processing at 12:33 PM
* UTC-7 on May 4, 2022.
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:33:13.922000-07:00
represents a transcription job that started processing at
* 12:33 PM UTC-7 on May 4, 2022.
*/
public void setCompletionTime(java.util.Date completionTime) {
this.completionTime = completionTime;
}
/**
*
* The date and time the specified transcription job finished processing. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:33:13.922000-07:00
represents a transcription job that started processing at 12:33 PM
* UTC-7 on May 4, 2022.
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:33:13.922000-07:00
represents a transcription job that started processing at
* 12:33 PM UTC-7 on May 4, 2022.
*/
public java.util.Date getCompletionTime() {
return this.completionTime;
}
/**
*
* The date and time the specified transcription job finished processing. *
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:33:13.922000-07:00
represents a transcription job that started processing at 12:33 PM
* UTC-7 on May 4, 2022.
*
* Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC
. For example,
* 2022-05-04T12:33:13.922000-07:00
represents a transcription job that started processing at
* 12:33 PM UTC-7 on May 4, 2022.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TranscriptionJobSummary withCompletionTime(java.util.Date completionTime) {
setCompletionTime(completionTime);
return this;
}
/**
*
* The language code used to create your transcription. *
* * @param languageCode * The language code used to create your transcription. * @see LanguageCode */ public void setLanguageCode(String languageCode) { this.languageCode = languageCode; } /** ** The language code used to create your transcription. *
* * @return The language code used to create your transcription. * @see LanguageCode */ public String getLanguageCode() { return this.languageCode; } /** ** The language code used to create your transcription. *
* * @param languageCode * The language code used to create your transcription. * @return Returns a reference to this object so that method calls can be chained together. * @see LanguageCode */ public TranscriptionJobSummary withLanguageCode(String languageCode) { setLanguageCode(languageCode); return this; } /** ** The language code used to create your transcription. *
* * @param languageCode * The language code used to create your transcription. * @return Returns a reference to this object so that method calls can be chained together. * @see LanguageCode */ public TranscriptionJobSummary withLanguageCode(LanguageCode languageCode) { this.languageCode = languageCode.toString(); return this; } /** ** Provides the status of your transcription job. *
*
* If the status is COMPLETED
, the job is finished and you can find the results at the location
* specified in TranscriptFileUri
(or RedactedTranscriptFileUri
, if you requested
* transcript redaction). If the status is FAILED
, FailureReason
provides details on why
* your transcription job failed.
*
* If the status is COMPLETED
, the job is finished and you can find the results at the location
* specified in TranscriptFileUri
(or RedactedTranscriptFileUri
, if you requested
* transcript redaction). If the status is FAILED
, FailureReason
provides details
* on why your transcription job failed.
* @see TranscriptionJobStatus
*/
public void setTranscriptionJobStatus(String transcriptionJobStatus) {
this.transcriptionJobStatus = transcriptionJobStatus;
}
/**
*
* Provides the status of your transcription job. *
*
* If the status is COMPLETED
, the job is finished and you can find the results at the location
* specified in TranscriptFileUri
(or RedactedTranscriptFileUri
, if you requested
* transcript redaction). If the status is FAILED
, FailureReason
provides details on why
* your transcription job failed.
*
* If the status is COMPLETED
, the job is finished and you can find the results at the location
* specified in TranscriptFileUri
(or RedactedTranscriptFileUri
, if you requested
* transcript redaction). If the status is FAILED
, FailureReason
provides details
* on why your transcription job failed.
* @see TranscriptionJobStatus
*/
public String getTranscriptionJobStatus() {
return this.transcriptionJobStatus;
}
/**
*
* Provides the status of your transcription job. *
*
* If the status is COMPLETED
, the job is finished and you can find the results at the location
* specified in TranscriptFileUri
(or RedactedTranscriptFileUri
, if you requested
* transcript redaction). If the status is FAILED
, FailureReason
provides details on why
* your transcription job failed.
*
* If the status is COMPLETED
, the job is finished and you can find the results at the location
* specified in TranscriptFileUri
(or RedactedTranscriptFileUri
, if you requested
* transcript redaction). If the status is FAILED
, FailureReason
provides details
* on why your transcription job failed.
* @return Returns a reference to this object so that method calls can be chained together.
* @see TranscriptionJobStatus
*/
public TranscriptionJobSummary withTranscriptionJobStatus(String transcriptionJobStatus) {
setTranscriptionJobStatus(transcriptionJobStatus);
return this;
}
/**
*
* Provides the status of your transcription job. *
*
* If the status is COMPLETED
, the job is finished and you can find the results at the location
* specified in TranscriptFileUri
(or RedactedTranscriptFileUri
, if you requested
* transcript redaction). If the status is FAILED
, FailureReason
provides details on why
* your transcription job failed.
*
* If the status is COMPLETED
, the job is finished and you can find the results at the location
* specified in TranscriptFileUri
(or RedactedTranscriptFileUri
, if you requested
* transcript redaction). If the status is FAILED
, FailureReason
provides details
* on why your transcription job failed.
* @return Returns a reference to this object so that method calls can be chained together.
* @see TranscriptionJobStatus
*/
public TranscriptionJobSummary withTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus) {
this.transcriptionJobStatus = transcriptionJobStatus.toString();
return this;
}
/**
*
* If TranscriptionJobStatus
is FAILED
, FailureReason
contains information
* about why the transcription job failed. See also: Common Errors.
*
TranscriptionJobStatus
is FAILED
, FailureReason
contains
* information about why the transcription job failed. See also: Common Errors.
*/
public void setFailureReason(String failureReason) {
this.failureReason = failureReason;
}
/**
*
* If TranscriptionJobStatus
is FAILED
, FailureReason
contains information
* about why the transcription job failed. See also: Common Errors.
*
TranscriptionJobStatus
is FAILED
, FailureReason
contains
* information about why the transcription job failed. See also: Common Errors.
*/
public String getFailureReason() {
return this.failureReason;
}
/**
*
* If TranscriptionJobStatus
is FAILED
, FailureReason
contains information
* about why the transcription job failed. See also: Common Errors.
*
TranscriptionJobStatus
is FAILED
, FailureReason
contains
* information about why the transcription job failed. See also: Common Errors.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TranscriptionJobSummary withFailureReason(String failureReason) {
setFailureReason(failureReason);
return this;
}
/**
* * Indicates where the specified transcription output is stored. *
*
* If the value is CUSTOMER_BUCKET
, the location is the Amazon S3 bucket you specified using the
* OutputBucketName
parameter in your request. If you also included OutputKey
in your
* request, your output is located in the path you specified in your request.
*
* If the value is SERVICE_BUCKET
, the location is a service-managed Amazon S3 bucket. To access a
* transcript stored in a service-managed bucket, use the URI shown in the TranscriptFileUri
or
* RedactedTranscriptFileUri
field.
*
* If the value is CUSTOMER_BUCKET
, the location is the Amazon S3 bucket you specified using the
* OutputBucketName
parameter in your request. If you also included OutputKey
in
* your request, your output is located in the path you specified in your request.
*
* If the value is SERVICE_BUCKET
, the location is a service-managed Amazon S3 bucket. To access
* a transcript stored in a service-managed bucket, use the URI shown in the TranscriptFileUri
* or RedactedTranscriptFileUri
field.
* @see OutputLocationType
*/
public void setOutputLocationType(String outputLocationType) {
this.outputLocationType = outputLocationType;
}
/**
*
* Indicates where the specified transcription output is stored. *
*
* If the value is CUSTOMER_BUCKET
, the location is the Amazon S3 bucket you specified using the
* OutputBucketName
parameter in your request. If you also included OutputKey
in your
* request, your output is located in the path you specified in your request.
*
* If the value is SERVICE_BUCKET
, the location is a service-managed Amazon S3 bucket. To access a
* transcript stored in a service-managed bucket, use the URI shown in the TranscriptFileUri
or
* RedactedTranscriptFileUri
field.
*
* If the value is CUSTOMER_BUCKET
, the location is the Amazon S3 bucket you specified using
* the OutputBucketName
parameter in your request. If you also included OutputKey
* in your request, your output is located in the path you specified in your request.
*
* If the value is SERVICE_BUCKET
, the location is a service-managed Amazon S3 bucket. To
* access a transcript stored in a service-managed bucket, use the URI shown in the
* TranscriptFileUri
or RedactedTranscriptFileUri
field.
* @see OutputLocationType
*/
public String getOutputLocationType() {
return this.outputLocationType;
}
/**
*
* Indicates where the specified transcription output is stored. *
*
* If the value is CUSTOMER_BUCKET
, the location is the Amazon S3 bucket you specified using the
* OutputBucketName
parameter in your request. If you also included OutputKey
in your
* request, your output is located in the path you specified in your request.
*
* If the value is SERVICE_BUCKET
, the location is a service-managed Amazon S3 bucket. To access a
* transcript stored in a service-managed bucket, use the URI shown in the TranscriptFileUri
or
* RedactedTranscriptFileUri
field.
*
* If the value is CUSTOMER_BUCKET
, the location is the Amazon S3 bucket you specified using the
* OutputBucketName
parameter in your request. If you also included OutputKey
in
* your request, your output is located in the path you specified in your request.
*
* If the value is SERVICE_BUCKET
, the location is a service-managed Amazon S3 bucket. To access
* a transcript stored in a service-managed bucket, use the URI shown in the TranscriptFileUri
* or RedactedTranscriptFileUri
field.
* @return Returns a reference to this object so that method calls can be chained together.
* @see OutputLocationType
*/
public TranscriptionJobSummary withOutputLocationType(String outputLocationType) {
setOutputLocationType(outputLocationType);
return this;
}
/**
*
* Indicates where the specified transcription output is stored. *
*
* If the value is CUSTOMER_BUCKET
, the location is the Amazon S3 bucket you specified using the
* OutputBucketName
parameter in your request. If you also included OutputKey
in your
* request, your output is located in the path you specified in your request.
*
* If the value is SERVICE_BUCKET
, the location is a service-managed Amazon S3 bucket. To access a
* transcript stored in a service-managed bucket, use the URI shown in the TranscriptFileUri
or
* RedactedTranscriptFileUri
field.
*
* If the value is CUSTOMER_BUCKET
, the location is the Amazon S3 bucket you specified using the
* OutputBucketName
parameter in your request. If you also included OutputKey
in
* your request, your output is located in the path you specified in your request.
*
* If the value is SERVICE_BUCKET
, the location is a service-managed Amazon S3 bucket. To access
* a transcript stored in a service-managed bucket, use the URI shown in the TranscriptFileUri
* or RedactedTranscriptFileUri
field.
* @return Returns a reference to this object so that method calls can be chained together.
* @see OutputLocationType
*/
public TranscriptionJobSummary withOutputLocationType(OutputLocationType outputLocationType) {
this.outputLocationType = outputLocationType.toString();
return this;
}
/**
*
* The content redaction settings of the transcription job. *
* * @param contentRedaction * The content redaction settings of the transcription job. */ public void setContentRedaction(ContentRedaction contentRedaction) { this.contentRedaction = contentRedaction; } /** ** The content redaction settings of the transcription job. *
* * @return The content redaction settings of the transcription job. */ public ContentRedaction getContentRedaction() { return this.contentRedaction; } /** ** The content redaction settings of the transcription job. *
* * @param contentRedaction * The content redaction settings of the transcription job. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJobSummary withContentRedaction(ContentRedaction contentRedaction) { setContentRedaction(contentRedaction); return this; } /** * @param modelSettings */ public void setModelSettings(ModelSettings modelSettings) { this.modelSettings = modelSettings; } /** * @return */ public ModelSettings getModelSettings() { return this.modelSettings; } /** * @param modelSettings * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJobSummary withModelSettings(ModelSettings modelSettings) { setModelSettings(modelSettings); return this; } /** *
* Indicates whether automatic language identification was enabled (TRUE
) for the specified
* transcription job.
*
TRUE
) for the specified
* transcription job.
*/
public void setIdentifyLanguage(Boolean identifyLanguage) {
this.identifyLanguage = identifyLanguage;
}
/**
*
* Indicates whether automatic language identification was enabled (TRUE
) for the specified
* transcription job.
*
TRUE
) for the specified
* transcription job.
*/
public Boolean getIdentifyLanguage() {
return this.identifyLanguage;
}
/**
*
* Indicates whether automatic language identification was enabled (TRUE
) for the specified
* transcription job.
*
TRUE
) for the specified
* transcription job.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TranscriptionJobSummary withIdentifyLanguage(Boolean identifyLanguage) {
setIdentifyLanguage(identifyLanguage);
return this;
}
/**
*
* Indicates whether automatic language identification was enabled (TRUE
) for the specified
* transcription job.
*
TRUE
) for the specified
* transcription job.
*/
public Boolean isIdentifyLanguage() {
return this.identifyLanguage;
}
/**
*
* Indicates whether automatic multi-language identification was enabled (TRUE
) for the specified
* transcription job.
*
TRUE
) for the
* specified transcription job.
*/
public void setIdentifyMultipleLanguages(Boolean identifyMultipleLanguages) {
this.identifyMultipleLanguages = identifyMultipleLanguages;
}
/**
*
* Indicates whether automatic multi-language identification was enabled (TRUE
) for the specified
* transcription job.
*
TRUE
) for the
* specified transcription job.
*/
public Boolean getIdentifyMultipleLanguages() {
return this.identifyMultipleLanguages;
}
/**
*
* Indicates whether automatic multi-language identification was enabled (TRUE
) for the specified
* transcription job.
*
TRUE
) for the
* specified transcription job.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TranscriptionJobSummary withIdentifyMultipleLanguages(Boolean identifyMultipleLanguages) {
setIdentifyMultipleLanguages(identifyMultipleLanguages);
return this;
}
/**
*
* Indicates whether automatic multi-language identification was enabled (TRUE
) for the specified
* transcription job.
*
TRUE
) for the
* specified transcription job.
*/
public Boolean isIdentifyMultipleLanguages() {
return this.identifyMultipleLanguages;
}
/**
* * The confidence score associated with the language identified in your media file. *
** Confidence scores are values between 0 and 1; a larger value indicates a higher probability that the identified * language correctly matches the language spoken in your media. *
* * @param identifiedLanguageScore * The confidence score associated with the language identified in your media file. ** Confidence scores are values between 0 and 1; a larger value indicates a higher probability that the * identified language correctly matches the language spoken in your media. */ public void setIdentifiedLanguageScore(Float identifiedLanguageScore) { this.identifiedLanguageScore = identifiedLanguageScore; } /** *
* The confidence score associated with the language identified in your media file. *
** Confidence scores are values between 0 and 1; a larger value indicates a higher probability that the identified * language correctly matches the language spoken in your media. *
* * @return The confidence score associated with the language identified in your media file. ** Confidence scores are values between 0 and 1; a larger value indicates a higher probability that the * identified language correctly matches the language spoken in your media. */ public Float getIdentifiedLanguageScore() { return this.identifiedLanguageScore; } /** *
* The confidence score associated with the language identified in your media file. *
** Confidence scores are values between 0 and 1; a larger value indicates a higher probability that the identified * language correctly matches the language spoken in your media. *
* * @param identifiedLanguageScore * The confidence score associated with the language identified in your media file. ** Confidence scores are values between 0 and 1; a larger value indicates a higher probability that the * identified language correctly matches the language spoken in your media. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJobSummary withIdentifiedLanguageScore(Float identifiedLanguageScore) { setIdentifiedLanguageScore(identifiedLanguageScore); return this; } /** *
* The language codes used to create your transcription job. This parameter is used with multi-language
* identification. For single-language identification, the singular version of this parameter,
* LanguageCode
, is present.
*
LanguageCode
, is present.
*/
public java.util.List
* The language codes used to create your transcription job. This parameter is used with multi-language
* identification. For single-language identification, the singular version of this parameter,
* LanguageCode
, is present.
*
LanguageCode
, is present.
*/
public void setLanguageCodes(java.util.Collection
* The language codes used to create your transcription job. This parameter is used with multi-language
* identification. For single-language identification, the singular version of this parameter,
* LanguageCode
, is present.
*
* NOTE: This method appends the values to the existing list (if any). Use * {@link #setLanguageCodes(java.util.Collection)} or {@link #withLanguageCodes(java.util.Collection)} if you want * to override the existing values. *
* * @param languageCodes * The language codes used to create your transcription job. This parameter is used with multi-language * identification. For single-language identification, the singular version of this parameter, *LanguageCode
, is present.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TranscriptionJobSummary withLanguageCodes(LanguageCodeItem... languageCodes) {
if (this.languageCodes == null) {
setLanguageCodes(new java.util.ArrayList
* The language codes used to create your transcription job. This parameter is used with multi-language
* identification. For single-language identification, the singular version of this parameter,
* LanguageCode
, is present.
*
LanguageCode
, is present.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public TranscriptionJobSummary withLanguageCodes(java.util.Collection* Indicates whether toxicity detection was enabled for the specified transcription job. *
* * @return Indicates whether toxicity detection was enabled for the specified transcription job. */ public java.util.List* Indicates whether toxicity detection was enabled for the specified transcription job. *
* * @param toxicityDetection * Indicates whether toxicity detection was enabled for the specified transcription job. */ public void setToxicityDetection(java.util.Collection* Indicates whether toxicity detection was enabled for the specified transcription job. *
** NOTE: This method appends the values to the existing list (if any). Use * {@link #setToxicityDetection(java.util.Collection)} or {@link #withToxicityDetection(java.util.Collection)} if * you want to override the existing values. *
* * @param toxicityDetection * Indicates whether toxicity detection was enabled for the specified transcription job. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJobSummary withToxicityDetection(ToxicityDetectionSettings... toxicityDetection) { if (this.toxicityDetection == null) { setToxicityDetection(new java.util.ArrayList* Indicates whether toxicity detection was enabled for the specified transcription job. *
* * @param toxicityDetection * Indicates whether toxicity detection was enabled for the specified transcription job. * @return Returns a reference to this object so that method calls can be chained together. */ public TranscriptionJobSummary withToxicityDetection(java.util.Collection