public static interface TranscriptionJob.Builder extends SdkPojo, CopyableBuilder<TranscriptionJob.Builder,TranscriptionJob>
| Modifier and Type | Method and Description |
|---|---|
TranscriptionJob.Builder |
completionTime(Instant completionTime)
A timestamp that shows when the job was completed.
|
TranscriptionJob.Builder |
creationTime(Instant creationTime)
A timestamp that shows when the job was created.
|
TranscriptionJob.Builder |
failureReason(String failureReason)
If the
TranscriptionJobStatus field is FAILED, this field contains information
about why the job failed. |
TranscriptionJob.Builder |
languageCode(LanguageCode languageCode)
The language code for the input speech.
|
TranscriptionJob.Builder |
languageCode(String languageCode)
The language code for the input speech.
|
default TranscriptionJob.Builder |
media(Consumer<Media.Builder> media)
An object that describes the input media for the transcription job.
|
TranscriptionJob.Builder |
media(Media media)
An object that describes the input media for the transcription job.
|
TranscriptionJob.Builder |
mediaFormat(MediaFormat mediaFormat)
The format of the input media file.
|
TranscriptionJob.Builder |
mediaFormat(String mediaFormat)
The format of the input media file.
|
TranscriptionJob.Builder |
mediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
|
default TranscriptionJob.Builder |
settings(Consumer<Settings.Builder> settings)
Optional settings for the transcription job.
|
TranscriptionJob.Builder |
settings(Settings settings)
Optional settings for the transcription job.
|
default TranscriptionJob.Builder |
transcript(Consumer<Transcript.Builder> transcript)
An object that describes the output of the transcription job.
|
TranscriptionJob.Builder |
transcript(Transcript transcript)
An object that describes the output of the transcription job.
|
TranscriptionJob.Builder |
transcriptionJobName(String transcriptionJobName)
The name of the transcription job.
|
TranscriptionJob.Builder |
transcriptionJobStatus(String transcriptionJobStatus)
The status of the transcription job.
|
TranscriptionJob.Builder |
transcriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job.
|
copyapplyMutation, buildTranscriptionJob.Builder transcriptionJobName(String transcriptionJobName)
The name of the transcription job.
transcriptionJobName - The name of the transcription job.TranscriptionJob.Builder transcriptionJobStatus(String transcriptionJobStatus)
The status of the transcription job.
transcriptionJobStatus - The status of the transcription job.TranscriptionJobStatus,
TranscriptionJobStatusTranscriptionJob.Builder transcriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job.
transcriptionJobStatus - The status of the transcription job.TranscriptionJobStatus,
TranscriptionJobStatusTranscriptionJob.Builder languageCode(String languageCode)
The language code for the input speech.
languageCode - The language code for the input speech.LanguageCode,
LanguageCodeTranscriptionJob.Builder languageCode(LanguageCode languageCode)
The language code for the input speech.
languageCode - The language code for the input speech.LanguageCode,
LanguageCodeTranscriptionJob.Builder mediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
mediaSampleRateHertz - The sample rate, in Hertz, of the audio track in the input media file.TranscriptionJob.Builder mediaFormat(String mediaFormat)
The format of the input media file.
mediaFormat - The format of the input media file.MediaFormat,
MediaFormatTranscriptionJob.Builder mediaFormat(MediaFormat mediaFormat)
The format of the input media file.
mediaFormat - The format of the input media file.MediaFormat,
MediaFormatTranscriptionJob.Builder media(Media media)
An object that describes the input media for the transcription job.
media - An object that describes the input media for the transcription job.default TranscriptionJob.Builder media(Consumer<Media.Builder> media)
An object that describes the input media for the transcription job.
This is a convenience that creates an instance of theMedia.Builder avoiding the need to create one
manually via Media.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to media(Media).media - a consumer that will call methods on Media.Buildermedia(Media)TranscriptionJob.Builder transcript(Transcript transcript)
An object that describes the output of the transcription job.
transcript - An object that describes the output of the transcription job.default TranscriptionJob.Builder transcript(Consumer<Transcript.Builder> transcript)
An object that describes the output of the transcription job.
This is a convenience that creates an instance of theTranscript.Builder avoiding the need to create
one manually via Transcript.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to transcript(Transcript).transcript - a consumer that will call methods on Transcript.Buildertranscript(Transcript)TranscriptionJob.Builder creationTime(Instant creationTime)
A timestamp that shows when the job was created.
creationTime - A timestamp that shows when the job was created.TranscriptionJob.Builder completionTime(Instant completionTime)
A timestamp that shows when the job was completed.
completionTime - A timestamp that shows when the job was completed.TranscriptionJob.Builder failureReason(String failureReason)
If the TranscriptionJobStatus field is FAILED, this field contains information
about why the job failed.
The FailureReason field can contain one of the following values:
Unsupported media format - The media format specified in the MediaFormat field of
the request isn't valid. See the description of the MediaFormat field for a list of valid
values.
The media format provided does not match the detected media format - The media format of the
audio file doesn't match the format specified in the MediaFormat field in the request. Check the
media format of your media file and make sure that the two values match.
Invalid sample rate for audio file - The sample rate specified in the
MediaSampleRateHertz of the request isn't valid. The sample rate must be between 8000 and 48000
Hertz.
The sample rate provided does not match the detected sample rate - The sample rate in the audio
file doesn't match the sample rate specified in the MediaSampleRateHertz field in the request.
Check the sample rate of your media file and make sure that the two values match.
Invalid file size: file size too large - The size of your audio file is larger than Amazon
Transcribe can process. For more information, see Limits in the
Amazon Transcribe Developer Guide.
Invalid number of channels: number of channels too large - Your audio contains more channels
than Amazon Transcribe is configured to process. To request additional channels, see Amazon
Transcribe Limits in the Amazon Web Services General Reference.
failureReason - If the TranscriptionJobStatus field is FAILED, this field contains
information about why the job failed.
The FailureReason field can contain one of the following values:
Unsupported media format - The media format specified in the MediaFormat
field of the request isn't valid. See the description of the MediaFormat field for a list
of valid values.
The media format provided does not match the detected media format - The media format of
the audio file doesn't match the format specified in the MediaFormat field in the
request. Check the media format of your media file and make sure that the two values match.
Invalid sample rate for audio file - The sample rate specified in the
MediaSampleRateHertz of the request isn't valid. The sample rate must be between 8000 and
48000 Hertz.
The sample rate provided does not match the detected sample rate - The sample rate in the
audio file doesn't match the sample rate specified in the MediaSampleRateHertz field in
the request. Check the sample rate of your media file and make sure that the two values match.
Invalid file size: file size too large - The size of your audio file is larger than
Amazon Transcribe can process. For more information, see Limits in
the Amazon Transcribe Developer Guide.
Invalid number of channels: number of channels too large - Your audio contains more
channels than Amazon Transcribe is configured to process. To request additional channels, see Amazon Transcribe Limits in the Amazon Web Services General Reference.
TranscriptionJob.Builder settings(Settings settings)
Optional settings for the transcription job. Use these settings to turn on speaker recognition, to set the maximum number of speakers that should be identified and to specify a custom vocabulary to use when processing the transcription job.
settings - Optional settings for the transcription job. Use these settings to turn on speaker recognition, to set
the maximum number of speakers that should be identified and to specify a custom vocabulary to use
when processing the transcription job.default TranscriptionJob.Builder settings(Consumer<Settings.Builder> settings)
Optional settings for the transcription job. Use these settings to turn on speaker recognition, to set the maximum number of speakers that should be identified and to specify a custom vocabulary to use when processing the transcription job.
This is a convenience that creates an instance of theSettings.Builder avoiding the need to create
one manually via Settings.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to settings(Settings).settings - a consumer that will call methods on Settings.Buildersettings(Settings)Copyright © 2019. All rights reserved.