/* * Copyright 2010-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; /** *
* Provides detailed information about a transcription job. *
*
* To view the status of the specified transcription job, check the
* TranscriptionJobStatus
field. If the status is
* COMPLETED
, the job is finished and you can find the results at
* the location specified in TranscriptFileUri
. If the status is
* FAILED
, FailureReason
provides details on why your
* transcription job failed.
*
* If you enabled content redaction, the redacted transcript can be found at the
* location specified in RedactedTranscriptFileUri
.
*
* The name of the transcription job. Job names are case sensitive and must * be unique within an Amazon Web Services account. *
*
* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
*/
private String transcriptionJobName;
/**
*
* Provides the status of the specified 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.
*
* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
*/
private String transcriptionJobStatus;
/**
*
* The language code used to create your transcription job. This parameter
* is used with single-language identification. For multi-language
* identification requests, refer to the plural version of this parameter,
* LanguageCodes
.
*
* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB,
* en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA,
* fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR,
* pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ,
* vi-VN, sv-SE
*/
private String languageCode;
/**
*
* The sample rate, in hertz, of the audio track in your input media file. *
*
* Constraints:
* Range: 8000 - 48000
*/
private Integer mediaSampleRateHertz;
/**
*
* The format of the input media file. *
*
* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm
*/
private String mediaFormat;
/**
*
* Provides the Amazon S3 location of the media file you used in your * request. *
*/ private Media media; /** ** Provides you with the Amazon S3 URI you can use to access your * transcript. *
*/ private Transcript transcript; /** ** The date and time the specified 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 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 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.
*
* If TranscriptionJobStatus
is FAILED
,
* FailureReason
contains information about why the
* transcription job request failed.
*
* The FailureReason
field contains one of the following
* values:
*
* Unsupported media format
.
*
* The media format specified in MediaFormat
isn't valid. Refer
* to MediaFormat for a list of supported formats.
*
* The media format provided does not match the detected media format
* .
*
* The media format specified in MediaFormat
doesn't match the
* format of the input file. Check the media format of your media file and
* correct the specified value.
*
* Invalid sample rate for audio file
.
*
* The sample rate specified in MediaSampleRateHertz
isn't
* valid. The sample rate must be between 8,000 and 48,000 hertz.
*
* The sample rate provided does not match the detected sample rate
* .
*
* The sample rate specified in MediaSampleRateHertz
doesn't
* match the sample rate detected in your input media file. Check the sample
* rate of your media file and correct the specified value.
*
* Invalid file size: file size too large
.
*
* The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. *
*
* Invalid number of channels: number of channels too large
.
*
* Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. *
** Provides information on any additional settings that were included in * your request. Additional settings include channel identification, * alternative transcriptions, speaker partitioning, custom vocabularies, * and custom vocabulary filters. *
*/ private Settings settings; /** ** Provides information on the custom language model you included in your * request. *
*/ private ModelSettings modelSettings; /** ** Provides information about how your transcription job was processed. This * parameter shows if your request was queued and what data access role was * used. *
*/ private JobExecutionSettings jobExecutionSettings; /** ** Indicates whether redaction was enabled in your transcript. *
*/ private ContentRedaction contentRedaction; /** *
* 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.
*
* Provides the language codes you specified in your request. *
*/ private java.util.List* 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 requests, refer to the singular version of this parameter,
* LanguageCode
.
*
* The tags, each in the form of a key:value pair, assigned to the specified * transcription job. *
*/ private java.util.List* Indicates whether subtitles were generated with your transcription. *
*/ private SubtitlesOutput subtitles; /** ** Provides the name and language of all custom language models, custom * vocabularies, and custom vocabulary filters that you included in your * request. *
*/ private java.util.Map* The name of the transcription job. Job names are case sensitive and must * be unique within an Amazon Web Services account. *
*
* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
*
* @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 transcriptionJobName; } /** ** The name of the transcription job. Job names are case sensitive and must * be unique within an Amazon Web Services account. *
*
* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
*
* @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. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Length: 1 - 200
* Pattern: ^[0-9a-zA-Z._-]+
*
* @param transcriptionJobName
* The name of the transcription job. Job names are case * sensitive and must be unique within an Amazon Web Services * account. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withTranscriptionJobName(String transcriptionJobName) { this.transcriptionJobName = transcriptionJobName; return this; } /** ** Provides the status of the specified 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.
*
* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
*
* @return
* Provides the status of the specified 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.
*
* Provides the status of the specified 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.
*
* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
*
* @param transcriptionJobStatus
* Provides the status of the specified 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.
*
* Provides the status of the specified 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.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
*
* @param transcriptionJobStatus
* Provides the status of the specified 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.
*
* Provides the status of the specified 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.
*
* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
*
* @param transcriptionJobStatus
* Provides the status of the specified 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.
*
* Provides the status of the specified 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.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
*
* @param transcriptionJobStatus
* Provides the status of the specified 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.
*
* The language code used to create your transcription job. This parameter
* is used with single-language identification. For multi-language
* identification requests, refer to the plural version of this parameter,
* LanguageCodes
.
*
* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB,
* en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA,
* fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR,
* pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ,
* vi-VN, sv-SE
*
* @return
* The language code used to create your transcription job. This
* parameter is used with single-language identification. For
* multi-language identification requests, refer to the plural
* version of this parameter, LanguageCodes
.
*
* The language code used to create your transcription job. This parameter
* is used with single-language identification. For multi-language
* identification requests, refer to the plural version of this parameter,
* LanguageCodes
.
*
* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB,
* en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA,
* fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR,
* pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ,
* vi-VN, sv-SE
*
* @param languageCode
* The language code used to create your transcription job. This
* parameter is used with single-language identification. For
* multi-language identification requests, refer to the plural
* version of this parameter, LanguageCodes
.
*
* The language code used to create your transcription job. This parameter
* is used with single-language identification. For multi-language
* identification requests, refer to the plural version of this parameter,
* LanguageCodes
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB,
* en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA,
* fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR,
* pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ,
* vi-VN, sv-SE
*
* @param languageCode
* The language code used to create your transcription job. This
* parameter is used with single-language identification. For
* multi-language identification requests, refer to the plural
* version of this parameter, LanguageCodes
.
*
* The language code used to create your transcription job. This parameter
* is used with single-language identification. For multi-language
* identification requests, refer to the plural version of this parameter,
* LanguageCodes
.
*
* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB,
* en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA,
* fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR,
* pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ,
* vi-VN, sv-SE
*
* @param languageCode
* The language code used to create your transcription job. This
* parameter is used with single-language identification. For
* multi-language identification requests, refer to the plural
* version of this parameter, LanguageCodes
.
*
* The language code used to create your transcription job. This parameter
* is used with single-language identification. For multi-language
* identification requests, refer to the plural version of this parameter,
* LanguageCodes
.
*
* Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: af-ZA, ar-AE, ar-SA, da-DK, de-CH, de-DE, en-AB,
* en-AU, en-GB, en-IE, en-IN, en-US, en-WL, es-ES, es-US, fa-IR, fr-CA,
* fr-FR, he-IL, hi-IN, id-ID, it-IT, ja-JP, ko-KR, ms-MY, nl-NL, pt-BR,
* pt-PT, ru-RU, ta-IN, te-IN, tr-TR, zh-CN, zh-TW, th-TH, en-ZA, en-NZ,
* vi-VN, sv-SE
*
* @param languageCode
* The language code used to create your transcription job. This
* parameter is used with single-language identification. For
* multi-language identification requests, refer to the plural
* version of this parameter, LanguageCodes
.
*
* The sample rate, in hertz, of the audio track in your input media file. *
*
* Constraints:
* Range: 8000 - 48000
*
* @return
* The sample rate, in hertz, of the audio track in your input media * file. *
*/ public Integer getMediaSampleRateHertz() { return mediaSampleRateHertz; } /** ** The sample rate, in hertz, of the audio track in your input media file. *
*
* Constraints:
* Range: 8000 - 48000
*
* @param mediaSampleRateHertz
* The sample rate, in hertz, of the audio track in your input * media file. *
*/ public void setMediaSampleRateHertz(Integer mediaSampleRateHertz) { this.mediaSampleRateHertz = mediaSampleRateHertz; } /** ** The sample rate, in hertz, of the audio track in your input media file. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Range: 8000 - 48000
*
* @param mediaSampleRateHertz
* The sample rate, in hertz, of the audio track in your input * media file. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withMediaSampleRateHertz(Integer mediaSampleRateHertz) { this.mediaSampleRateHertz = mediaSampleRateHertz; return this; } /** ** The format of the input media file. *
*
* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm
*
* @return
* The format of the input media file. *
* @see MediaFormat */ public String getMediaFormat() { return mediaFormat; } /** ** The format of the input media file. *
*
* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm
*
* @param mediaFormat
* The format of the input media file. *
* @see MediaFormat */ public void setMediaFormat(String mediaFormat) { this.mediaFormat = mediaFormat; } /** ** The format of the input media file. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm
*
* @param mediaFormat
* The format of the input media file. *
* @return A reference to this updated object so that method calls can be * chained together. * @see MediaFormat */ public TranscriptionJob withMediaFormat(String mediaFormat) { this.mediaFormat = mediaFormat; return this; } /** ** The format of the input media file. *
*
* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm
*
* @param mediaFormat
* The format of the input media file. *
* @see MediaFormat */ public void setMediaFormat(MediaFormat mediaFormat) { this.mediaFormat = mediaFormat.toString(); } /** ** The format of the input media file. *
** Returns a reference to this object so that method calls can be chained * together. *
* Constraints:
* Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm
*
* @param mediaFormat
* The format of the input media file. *
* @return A reference to this updated object so that method calls can be * chained together. * @see MediaFormat */ public TranscriptionJob withMediaFormat(MediaFormat mediaFormat) { this.mediaFormat = mediaFormat.toString(); return this; } /** ** Provides the Amazon S3 location of the media file you used in your * request. *
* * @return* Provides the Amazon S3 location of the media file you used in * your request. *
*/ public Media getMedia() { return media; } /** ** Provides the Amazon S3 location of the media file you used in your * request. *
* * @param media* Provides the Amazon S3 location of the media file you used in * your request. *
*/ public void setMedia(Media media) { this.media = media; } /** ** Provides the Amazon S3 location of the media file you used in your * request. *
** Returns a reference to this object so that method calls can be chained * together. * * @param media
* Provides the Amazon S3 location of the media file you used in * your request. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withMedia(Media media) { this.media = media; return this; } /** ** Provides you with the Amazon S3 URI you can use to access your * transcript. *
* * @return* Provides you with the Amazon S3 URI you can use to access your * transcript. *
*/ public Transcript getTranscript() { return transcript; } /** ** Provides you with the Amazon S3 URI you can use to access your * transcript. *
* * @param transcript* Provides you with the Amazon S3 URI you can use to access your * transcript. *
*/ public void setTranscript(Transcript transcript) { this.transcript = transcript; } /** ** Provides you with the Amazon S3 URI you can use to access your * transcript. *
** Returns a reference to this object so that method calls can be chained * together. * * @param transcript
* Provides you with the Amazon S3 URI you can use to access your * transcript. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withTranscript(Transcript transcript) { this.transcript = transcript; return this; } /** ** The date and time the specified 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 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 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 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 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.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param startTime
* The date and time the specified 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 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 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 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 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 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.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param 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.
*
* 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 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 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 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 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.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param 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.
*
* If TranscriptionJobStatus
is FAILED
,
* FailureReason
contains information about why the
* transcription job request failed.
*
* The FailureReason
field contains one of the following
* values:
*
* Unsupported media format
.
*
* The media format specified in MediaFormat
isn't valid. Refer
* to MediaFormat for a list of supported formats.
*
* The media format provided does not match the detected media format
* .
*
* The media format specified in MediaFormat
doesn't match the
* format of the input file. Check the media format of your media file and
* correct the specified value.
*
* Invalid sample rate for audio file
.
*
* The sample rate specified in MediaSampleRateHertz
isn't
* valid. The sample rate must be between 8,000 and 48,000 hertz.
*
* The sample rate provided does not match the detected sample rate
* .
*
* The sample rate specified in MediaSampleRateHertz
doesn't
* match the sample rate detected in your input media file. Check the sample
* rate of your media file and correct the specified value.
*
* Invalid file size: file size too large
.
*
* The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. *
*
* Invalid number of channels: number of channels too large
.
*
* Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. *
*
* If TranscriptionJobStatus
is FAILED
,
* FailureReason
contains information about why the
* transcription job request failed.
*
* The FailureReason
field contains one of the
* following values:
*
* Unsupported media format
.
*
* The media format specified in MediaFormat
isn't
* valid. Refer to MediaFormat for a list of supported
* formats.
*
* The media format provided does not match the detected media format
* .
*
* The media format specified in MediaFormat
doesn't
* match the format of the input file. Check the media format of
* your media file and correct the specified value.
*
* Invalid sample rate for audio file
.
*
* The sample rate specified in MediaSampleRateHertz
* isn't valid. The sample rate must be between 8,000 and 48,000
* hertz.
*
* The sample rate provided does not match the detected sample rate
* .
*
* The sample rate specified in MediaSampleRateHertz
* doesn't match the sample rate detected in your input media file.
* Check the sample rate of your media file and correct the
* specified value.
*
* Invalid file size: file size too large
.
*
* The size of your media file is larger than what Amazon Transcribe * can process. For more information, refer to Guidelines and quotas. *
*
* Invalid number of channels: number of channels too large
* .
*
* Your audio contains more channels than Amazon Transcribe is able * to process. For more information, refer to Guidelines and quotas. *
*
* If TranscriptionJobStatus
is FAILED
,
* FailureReason
contains information about why the
* transcription job request failed.
*
* The FailureReason
field contains one of the following
* values:
*
* Unsupported media format
.
*
* The media format specified in MediaFormat
isn't valid. Refer
* to MediaFormat for a list of supported formats.
*
* The media format provided does not match the detected media format
* .
*
* The media format specified in MediaFormat
doesn't match the
* format of the input file. Check the media format of your media file and
* correct the specified value.
*
* Invalid sample rate for audio file
.
*
* The sample rate specified in MediaSampleRateHertz
isn't
* valid. The sample rate must be between 8,000 and 48,000 hertz.
*
* The sample rate provided does not match the detected sample rate
* .
*
* The sample rate specified in MediaSampleRateHertz
doesn't
* match the sample rate detected in your input media file. Check the sample
* rate of your media file and correct the specified value.
*
* Invalid file size: file size too large
.
*
* The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. *
*
* Invalid number of channels: number of channels too large
.
*
* Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. *
*
* If TranscriptionJobStatus
is FAILED
,
* FailureReason
contains information about why the
* transcription job request failed.
*
* The FailureReason
field contains one of the
* following values:
*
* Unsupported media format
.
*
* The media format specified in MediaFormat
isn't
* valid. Refer to MediaFormat for a list of supported
* formats.
*
* The media format provided does not match the detected media format
* .
*
* The media format specified in MediaFormat
doesn't
* match the format of the input file. Check the media format of
* your media file and correct the specified value.
*
* Invalid sample rate for audio file
.
*
* The sample rate specified in MediaSampleRateHertz
* isn't valid. The sample rate must be between 8,000 and 48,000
* hertz.
*
* The sample rate provided does not match the detected sample rate
* .
*
* The sample rate specified in MediaSampleRateHertz
* doesn't match the sample rate detected in your input media
* file. Check the sample rate of your media file and correct the
* specified value.
*
* Invalid file size: file size too large
.
*
* The size of your media file is larger than what Amazon * Transcribe can process. For more information, refer to Guidelines and quotas. *
*
* Invalid number of channels: number of channels too large
* .
*
* Your audio contains more channels than Amazon Transcribe is * able to process. For more information, refer to Guidelines and quotas. *
*
* If TranscriptionJobStatus
is FAILED
,
* FailureReason
contains information about why the
* transcription job request failed.
*
* The FailureReason
field contains one of the following
* values:
*
* Unsupported media format
.
*
* The media format specified in MediaFormat
isn't valid. Refer
* to MediaFormat for a list of supported formats.
*
* The media format provided does not match the detected media format
* .
*
* The media format specified in MediaFormat
doesn't match the
* format of the input file. Check the media format of your media file and
* correct the specified value.
*
* Invalid sample rate for audio file
.
*
* The sample rate specified in MediaSampleRateHertz
isn't
* valid. The sample rate must be between 8,000 and 48,000 hertz.
*
* The sample rate provided does not match the detected sample rate
* .
*
* The sample rate specified in MediaSampleRateHertz
doesn't
* match the sample rate detected in your input media file. Check the sample
* rate of your media file and correct the specified value.
*
* Invalid file size: file size too large
.
*
* The size of your media file is larger than what Amazon Transcribe can * process. For more information, refer to Guidelines and quotas. *
*
* Invalid number of channels: number of channels too large
.
*
* Your audio contains more channels than Amazon Transcribe is able to * process. For more information, refer to Guidelines and quotas. *
** Returns a reference to this object so that method calls can be chained * together. * * @param failureReason
* If TranscriptionJobStatus
is FAILED
,
* FailureReason
contains information about why the
* transcription job request failed.
*
* The FailureReason
field contains one of the
* following values:
*
* Unsupported media format
.
*
* The media format specified in MediaFormat
isn't
* valid. Refer to MediaFormat for a list of supported
* formats.
*
* The media format provided does not match the detected media format
* .
*
* The media format specified in MediaFormat
doesn't
* match the format of the input file. Check the media format of
* your media file and correct the specified value.
*
* Invalid sample rate for audio file
.
*
* The sample rate specified in MediaSampleRateHertz
* isn't valid. The sample rate must be between 8,000 and 48,000
* hertz.
*
* The sample rate provided does not match the detected sample rate
* .
*
* The sample rate specified in MediaSampleRateHertz
* doesn't match the sample rate detected in your input media
* file. Check the sample rate of your media file and correct the
* specified value.
*
* Invalid file size: file size too large
.
*
* The size of your media file is larger than what Amazon * Transcribe can process. For more information, refer to Guidelines and quotas. *
*
* Invalid number of channels: number of channels too large
* .
*
* Your audio contains more channels than Amazon Transcribe is * able to process. For more information, refer to Guidelines and quotas. *
** Provides information on any additional settings that were included in * your request. Additional settings include channel identification, * alternative transcriptions, speaker partitioning, custom vocabularies, * and custom vocabulary filters. *
* * @return* Provides information on any additional settings that were * included in your request. Additional settings include channel * identification, alternative transcriptions, speaker partitioning, * custom vocabularies, and custom vocabulary filters. *
*/ public Settings getSettings() { return settings; } /** ** Provides information on any additional settings that were included in * your request. Additional settings include channel identification, * alternative transcriptions, speaker partitioning, custom vocabularies, * and custom vocabulary filters. *
* * @param settings* Provides information on any additional settings that were * included in your request. Additional settings include channel * identification, alternative transcriptions, speaker * partitioning, custom vocabularies, and custom vocabulary * filters. *
*/ public void setSettings(Settings settings) { this.settings = settings; } /** ** Provides information on any additional settings that were included in * your request. Additional settings include channel identification, * alternative transcriptions, speaker partitioning, custom vocabularies, * and custom vocabulary filters. *
** Returns a reference to this object so that method calls can be chained * together. * * @param settings
* Provides information on any additional settings that were * included in your request. Additional settings include channel * identification, alternative transcriptions, speaker * partitioning, custom vocabularies, and custom vocabulary * filters. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withSettings(Settings settings) { this.settings = settings; return this; } /** ** Provides information on the custom language model you included in your * request. *
* * @return* Provides information on the custom language model you included in * your request. *
*/ public ModelSettings getModelSettings() { return modelSettings; } /** ** Provides information on the custom language model you included in your * request. *
* * @param modelSettings* Provides information on the custom language model you included * in your request. *
*/ public void setModelSettings(ModelSettings modelSettings) { this.modelSettings = modelSettings; } /** ** Provides information on the custom language model you included in your * request. *
** Returns a reference to this object so that method calls can be chained * together. * * @param modelSettings
* Provides information on the custom language model you included * in your request. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withModelSettings(ModelSettings modelSettings) { this.modelSettings = modelSettings; return this; } /** ** Provides information about how your transcription job was processed. This * parameter shows if your request was queued and what data access role was * used. *
* * @return* Provides information about how your transcription job was * processed. This parameter shows if your request was queued and * what data access role was used. *
*/ public JobExecutionSettings getJobExecutionSettings() { return jobExecutionSettings; } /** ** Provides information about how your transcription job was processed. This * parameter shows if your request was queued and what data access role was * used. *
* * @param jobExecutionSettings* Provides information about how your transcription job was * processed. This parameter shows if your request was queued and * what data access role was used. *
*/ public void setJobExecutionSettings(JobExecutionSettings jobExecutionSettings) { this.jobExecutionSettings = jobExecutionSettings; } /** ** Provides information about how your transcription job was processed. This * parameter shows if your request was queued and what data access role was * used. *
** Returns a reference to this object so that method calls can be chained * together. * * @param jobExecutionSettings
* Provides information about how your transcription job was * processed. This parameter shows if your request was queued and * what data access role was used. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withJobExecutionSettings(JobExecutionSettings jobExecutionSettings) { this.jobExecutionSettings = jobExecutionSettings; return this; } /** ** Indicates whether redaction was enabled in your transcript. *
* * @return* Indicates whether redaction was enabled in your transcript. *
*/ public ContentRedaction getContentRedaction() { return contentRedaction; } /** ** Indicates whether redaction was enabled in your transcript. *
* * @param contentRedaction* Indicates whether redaction was enabled in your transcript. *
*/ public void setContentRedaction(ContentRedaction contentRedaction) { this.contentRedaction = contentRedaction; } /** ** Indicates whether redaction was enabled in your transcript. *
** Returns a reference to this object so that method calls can be chained * together. * * @param contentRedaction
* Indicates whether redaction was enabled in your transcript. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withContentRedaction(ContentRedaction contentRedaction) { this.contentRedaction = contentRedaction; return this; } /** *
* Indicates whether automatic language identification was enabled (
* TRUE
) for the specified transcription job.
*
* Indicates whether automatic language identification was enabled (
* TRUE
) for the specified transcription job.
*
* Indicates whether automatic language identification was enabled (
* TRUE
) for the specified transcription job.
*
* Indicates whether automatic language identification was enabled (
* TRUE
) for the specified transcription job.
*
* Indicates whether automatic language identification was enabled (
* TRUE
) for the specified transcription job.
*
* Indicates whether automatic language identification was
* enabled (TRUE
) for the specified transcription
* job.
*
* Indicates whether automatic language identification was enabled (
* TRUE
) for the specified transcription job.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param identifyLanguage
* 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.
*
* Indicates whether automatic multi-language identification was
* enabled (TRUE
) for the specified transcription job.
*
* Indicates whether automatic multi-language identification was enabled (
* TRUE
) for the specified transcription job.
*
* Indicates whether automatic multi-language identification was
* enabled (TRUE
) for the specified transcription job.
*
* Indicates whether automatic multi-language identification was enabled (
* TRUE
) for the specified transcription job.
*
* Indicates whether automatic multi-language identification was
* enabled (TRUE
) for the specified transcription
* job.
*
* Indicates whether automatic multi-language identification was enabled (
* TRUE
) for the specified transcription job.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param identifyMultipleLanguages
* Indicates whether automatic multi-language identification was
* enabled (TRUE
) for the specified transcription
* job.
*
* Provides the language codes you specified in your request. *
* * @return* Provides the language codes you specified in your request. *
*/ public java.util.List* Provides the language codes you specified in your request. *
* * @param languageOptions* Provides the language codes you specified in your request. *
*/ public void setLanguageOptions(java.util.Collection* Provides the language codes you specified in your request. *
** Returns a reference to this object so that method calls can be chained * together. * * @param languageOptions
* Provides the language codes you specified in your request. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withLanguageOptions(String... languageOptions) { if (getLanguageOptions() == null) { this.languageOptions = new java.util.ArrayList* Provides the language codes you specified in your request. *
** Returns a reference to this object so that method calls can be chained * together. * * @param languageOptions
* Provides the language codes you specified in your request. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withLanguageOptions(java.util.Collection* 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 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. *
*/ 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. *
** Returns a reference to this object so that method calls can be chained * together. * * @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 A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withIdentifiedLanguageScore(Float identifiedLanguageScore) { this.identifiedLanguageScore = identifiedLanguageScore; return this; } /** *
* The language codes used to create your transcription job. This parameter
* is used with multi-language identification. For single-language
* identification requests, refer to the singular version of this parameter,
* LanguageCode
.
*
* The language codes used to create your transcription job. This
* parameter is used with multi-language identification. For
* single-language identification requests, refer to the singular
* version of this parameter, LanguageCode
.
*
* The language codes used to create your transcription job. This parameter
* is used with multi-language identification. For single-language
* identification requests, refer to the singular version of this parameter,
* LanguageCode
.
*
* The language codes used to create your transcription job. This
* parameter is used with multi-language identification. For
* single-language identification requests, refer to the singular
* version of this parameter, LanguageCode
.
*
* The language codes used to create your transcription job. This parameter
* is used with multi-language identification. For single-language
* identification requests, refer to the singular version of this parameter,
* LanguageCode
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param languageCodes
* The language codes used to create your transcription job. This
* parameter is used with multi-language identification. For
* single-language identification requests, refer to the singular
* version of this parameter, LanguageCode
.
*
* The language codes used to create your transcription job. This parameter
* is used with multi-language identification. For single-language
* identification requests, refer to the singular version of this parameter,
* LanguageCode
.
*
* Returns a reference to this object so that method calls can be chained * together. * * @param languageCodes
* The language codes used to create your transcription job. This
* parameter is used with multi-language identification. For
* single-language identification requests, refer to the singular
* version of this parameter, LanguageCode
.
*
* The tags, each in the form of a key:value pair, assigned to the specified * transcription job. *
* * @return* The tags, each in the form of a key:value pair, assigned to the * specified transcription job. *
*/ public java.util.List* The tags, each in the form of a key:value pair, assigned to the specified * transcription job. *
* * @param tags* The tags, each in the form of a key:value pair, assigned to * the specified transcription job. *
*/ public void setTags(java.util.Collection* The tags, each in the form of a key:value pair, assigned to the specified * transcription job. *
** Returns a reference to this object so that method calls can be chained * together. * * @param tags
* The tags, each in the form of a key:value pair, assigned to * the specified transcription job. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withTags(Tag... tags) { if (getTags() == null) { this.tags = new java.util.ArrayList* The tags, each in the form of a key:value pair, assigned to the specified * transcription job. *
** Returns a reference to this object so that method calls can be chained * together. * * @param tags
* The tags, each in the form of a key:value pair, assigned to * the specified transcription job. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withTags(java.util.Collection* Indicates whether subtitles were generated with your transcription. *
* * @return* Indicates whether subtitles were generated with your * transcription. *
*/ public SubtitlesOutput getSubtitles() { return subtitles; } /** ** Indicates whether subtitles were generated with your transcription. *
* * @param subtitles* Indicates whether subtitles were generated with your * transcription. *
*/ public void setSubtitles(SubtitlesOutput subtitles) { this.subtitles = subtitles; } /** ** Indicates whether subtitles were generated with your transcription. *
** Returns a reference to this object so that method calls can be chained * together. * * @param subtitles
* Indicates whether subtitles were generated with your * transcription. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withSubtitles(SubtitlesOutput subtitles) { this.subtitles = subtitles; return this; } /** ** Provides the name and language of all custom language models, custom * vocabularies, and custom vocabulary filters that you included in your * request. *
* * @return* Provides the name and language of all custom language models, * custom vocabularies, and custom vocabulary filters that you * included in your request. *
*/ public java.util.Map* Provides the name and language of all custom language models, custom * vocabularies, and custom vocabulary filters that you included in your * request. *
* * @param languageIdSettings* Provides the name and language of all custom language models, * custom vocabularies, and custom vocabulary filters that you * included in your request. *
*/ public void setLanguageIdSettings(java.util.Map* Provides the name and language of all custom language models, custom * vocabularies, and custom vocabulary filters that you included in your * request. *
** Returns a reference to this object so that method calls can be chained * together. * * @param languageIdSettings
* Provides the name and language of all custom language models, * custom vocabularies, and custom vocabulary filters that you * included in your request. *
* @return A reference to this updated object so that method calls can be * chained together. */ public TranscriptionJob withLanguageIdSettings( java.util.Map* Provides the name and language of all custom language models, custom * vocabularies, and custom vocabulary filters that you included in your * request. *
*
* The method adds a new key-value pair into LanguageIdSettings parameter,
* and returns a reference to this object so that method calls can be
* chained together.
*
* @param key The key of the entry to be added into LanguageIdSettings.
* @param value The corresponding value of the entry to be added into
* LanguageIdSettings.
* @return A reference to this updated object so that method calls can be
* chained together.
*/
public TranscriptionJob addLanguageIdSettingsEntry(String key, LanguageIdSettings value) {
if (null == this.languageIdSettings) {
this.languageIdSettings = new java.util.HashMap
* Returns a reference to this object so that method calls can be chained
* together.
*/
public TranscriptionJob clearLanguageIdSettingsEntries() {
this.languageIdSettings = null;
return this;
}
/**
* Returns a string representation of this object; useful for testing and
* debugging.
*
* @return A string representation of this object.
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getTranscriptionJobName() != null)
sb.append("TranscriptionJobName: " + getTranscriptionJobName() + ",");
if (getTranscriptionJobStatus() != null)
sb.append("TranscriptionJobStatus: " + getTranscriptionJobStatus() + ",");
if (getLanguageCode() != null)
sb.append("LanguageCode: " + getLanguageCode() + ",");
if (getMediaSampleRateHertz() != null)
sb.append("MediaSampleRateHertz: " + getMediaSampleRateHertz() + ",");
if (getMediaFormat() != null)
sb.append("MediaFormat: " + getMediaFormat() + ",");
if (getMedia() != null)
sb.append("Media: " + getMedia() + ",");
if (getTranscript() != null)
sb.append("Transcript: " + getTranscript() + ",");
if (getStartTime() != null)
sb.append("StartTime: " + getStartTime() + ",");
if (getCreationTime() != null)
sb.append("CreationTime: " + getCreationTime() + ",");
if (getCompletionTime() != null)
sb.append("CompletionTime: " + getCompletionTime() + ",");
if (getFailureReason() != null)
sb.append("FailureReason: " + getFailureReason() + ",");
if (getSettings() != null)
sb.append("Settings: " + getSettings() + ",");
if (getModelSettings() != null)
sb.append("ModelSettings: " + getModelSettings() + ",");
if (getJobExecutionSettings() != null)
sb.append("JobExecutionSettings: " + getJobExecutionSettings() + ",");
if (getContentRedaction() != null)
sb.append("ContentRedaction: " + getContentRedaction() + ",");
if (getIdentifyLanguage() != null)
sb.append("IdentifyLanguage: " + getIdentifyLanguage() + ",");
if (getIdentifyMultipleLanguages() != null)
sb.append("IdentifyMultipleLanguages: " + getIdentifyMultipleLanguages() + ",");
if (getLanguageOptions() != null)
sb.append("LanguageOptions: " + getLanguageOptions() + ",");
if (getIdentifiedLanguageScore() != null)
sb.append("IdentifiedLanguageScore: " + getIdentifiedLanguageScore() + ",");
if (getLanguageCodes() != null)
sb.append("LanguageCodes: " + getLanguageCodes() + ",");
if (getTags() != null)
sb.append("Tags: " + getTags() + ",");
if (getSubtitles() != null)
sb.append("Subtitles: " + getSubtitles() + ",");
if (getLanguageIdSettings() != null)
sb.append("LanguageIdSettings: " + getLanguageIdSettings());
sb.append("}");
return sb.toString();
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode
+ ((getTranscriptionJobName() == null) ? 0 : getTranscriptionJobName().hashCode());
hashCode = prime
* hashCode
+ ((getTranscriptionJobStatus() == null) ? 0 : getTranscriptionJobStatus()
.hashCode());
hashCode = prime * hashCode
+ ((getLanguageCode() == null) ? 0 : getLanguageCode().hashCode());
hashCode = prime * hashCode
+ ((getMediaSampleRateHertz() == null) ? 0 : getMediaSampleRateHertz().hashCode());
hashCode = prime * hashCode
+ ((getMediaFormat() == null) ? 0 : getMediaFormat().hashCode());
hashCode = prime * hashCode + ((getMedia() == null) ? 0 : getMedia().hashCode());
hashCode = prime * hashCode + ((getTranscript() == null) ? 0 : getTranscript().hashCode());
hashCode = prime * hashCode + ((getStartTime() == null) ? 0 : getStartTime().hashCode());
hashCode = prime * hashCode
+ ((getCreationTime() == null) ? 0 : getCreationTime().hashCode());
hashCode = prime * hashCode
+ ((getCompletionTime() == null) ? 0 : getCompletionTime().hashCode());
hashCode = prime * hashCode
+ ((getFailureReason() == null) ? 0 : getFailureReason().hashCode());
hashCode = prime * hashCode + ((getSettings() == null) ? 0 : getSettings().hashCode());
hashCode = prime * hashCode
+ ((getModelSettings() == null) ? 0 : getModelSettings().hashCode());
hashCode = prime * hashCode
+ ((getJobExecutionSettings() == null) ? 0 : getJobExecutionSettings().hashCode());
hashCode = prime * hashCode
+ ((getContentRedaction() == null) ? 0 : getContentRedaction().hashCode());
hashCode = prime * hashCode
+ ((getIdentifyLanguage() == null) ? 0 : getIdentifyLanguage().hashCode());
hashCode = prime
* hashCode
+ ((getIdentifyMultipleLanguages() == null) ? 0 : getIdentifyMultipleLanguages()
.hashCode());
hashCode = prime * hashCode
+ ((getLanguageOptions() == null) ? 0 : getLanguageOptions().hashCode());
hashCode = prime
* hashCode
+ ((getIdentifiedLanguageScore() == null) ? 0 : getIdentifiedLanguageScore()
.hashCode());
hashCode = prime * hashCode
+ ((getLanguageCodes() == null) ? 0 : getLanguageCodes().hashCode());
hashCode = prime * hashCode + ((getTags() == null) ? 0 : getTags().hashCode());
hashCode = prime * hashCode + ((getSubtitles() == null) ? 0 : getSubtitles().hashCode());
hashCode = prime * hashCode
+ ((getLanguageIdSettings() == null) ? 0 : getLanguageIdSettings().hashCode());
return hashCode;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof TranscriptionJob == false)
return false;
TranscriptionJob other = (TranscriptionJob) obj;
if (other.getTranscriptionJobName() == null ^ this.getTranscriptionJobName() == null)
return false;
if (other.getTranscriptionJobName() != null
&& other.getTranscriptionJobName().equals(this.getTranscriptionJobName()) == false)
return false;
if (other.getTranscriptionJobStatus() == null ^ this.getTranscriptionJobStatus() == null)
return false;
if (other.getTranscriptionJobStatus() != null
&& other.getTranscriptionJobStatus().equals(this.getTranscriptionJobStatus()) == false)
return false;
if (other.getLanguageCode() == null ^ this.getLanguageCode() == null)
return false;
if (other.getLanguageCode() != null
&& other.getLanguageCode().equals(this.getLanguageCode()) == false)
return false;
if (other.getMediaSampleRateHertz() == null ^ this.getMediaSampleRateHertz() == null)
return false;
if (other.getMediaSampleRateHertz() != null
&& other.getMediaSampleRateHertz().equals(this.getMediaSampleRateHertz()) == false)
return false;
if (other.getMediaFormat() == null ^ this.getMediaFormat() == null)
return false;
if (other.getMediaFormat() != null
&& other.getMediaFormat().equals(this.getMediaFormat()) == false)
return false;
if (other.getMedia() == null ^ this.getMedia() == null)
return false;
if (other.getMedia() != null && other.getMedia().equals(this.getMedia()) == false)
return false;
if (other.getTranscript() == null ^ this.getTranscript() == null)
return false;
if (other.getTranscript() != null
&& other.getTranscript().equals(this.getTranscript()) == false)
return false;
if (other.getStartTime() == null ^ this.getStartTime() == null)
return false;
if (other.getStartTime() != null
&& other.getStartTime().equals(this.getStartTime()) == false)
return false;
if (other.getCreationTime() == null ^ this.getCreationTime() == null)
return false;
if (other.getCreationTime() != null
&& other.getCreationTime().equals(this.getCreationTime()) == false)
return false;
if (other.getCompletionTime() == null ^ this.getCompletionTime() == null)
return false;
if (other.getCompletionTime() != null
&& other.getCompletionTime().equals(this.getCompletionTime()) == false)
return false;
if (other.getFailureReason() == null ^ this.getFailureReason() == null)
return false;
if (other.getFailureReason() != null
&& other.getFailureReason().equals(this.getFailureReason()) == false)
return false;
if (other.getSettings() == null ^ this.getSettings() == null)
return false;
if (other.getSettings() != null && other.getSettings().equals(this.getSettings()) == false)
return false;
if (other.getModelSettings() == null ^ this.getModelSettings() == null)
return false;
if (other.getModelSettings() != null
&& other.getModelSettings().equals(this.getModelSettings()) == false)
return false;
if (other.getJobExecutionSettings() == null ^ this.getJobExecutionSettings() == null)
return false;
if (other.getJobExecutionSettings() != null
&& other.getJobExecutionSettings().equals(this.getJobExecutionSettings()) == false)
return false;
if (other.getContentRedaction() == null ^ this.getContentRedaction() == null)
return false;
if (other.getContentRedaction() != null
&& other.getContentRedaction().equals(this.getContentRedaction()) == false)
return false;
if (other.getIdentifyLanguage() == null ^ this.getIdentifyLanguage() == null)
return false;
if (other.getIdentifyLanguage() != null
&& other.getIdentifyLanguage().equals(this.getIdentifyLanguage()) == false)
return false;
if (other.getIdentifyMultipleLanguages() == null
^ this.getIdentifyMultipleLanguages() == null)
return false;
if (other.getIdentifyMultipleLanguages() != null
&& other.getIdentifyMultipleLanguages().equals(this.getIdentifyMultipleLanguages()) == false)
return false;
if (other.getLanguageOptions() == null ^ this.getLanguageOptions() == null)
return false;
if (other.getLanguageOptions() != null
&& other.getLanguageOptions().equals(this.getLanguageOptions()) == false)
return false;
if (other.getIdentifiedLanguageScore() == null ^ this.getIdentifiedLanguageScore() == null)
return false;
if (other.getIdentifiedLanguageScore() != null
&& other.getIdentifiedLanguageScore().equals(this.getIdentifiedLanguageScore()) == false)
return false;
if (other.getLanguageCodes() == null ^ this.getLanguageCodes() == null)
return false;
if (other.getLanguageCodes() != null
&& other.getLanguageCodes().equals(this.getLanguageCodes()) == false)
return false;
if (other.getTags() == null ^ this.getTags() == null)
return false;
if (other.getTags() != null && other.getTags().equals(this.getTags()) == false)
return false;
if (other.getSubtitles() == null ^ this.getSubtitles() == null)
return false;
if (other.getSubtitles() != null
&& other.getSubtitles().equals(this.getSubtitles()) == false)
return false;
if (other.getLanguageIdSettings() == null ^ this.getLanguageIdSettings() == null)
return false;
if (other.getLanguageIdSettings() != null
&& other.getLanguageIdSettings().equals(this.getLanguageIdSettings()) == false)
return false;
return true;
}
}