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.
|
copy
applyMutation, build
TranscriptionJob.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
,
TranscriptionJobStatus
TranscriptionJob.Builder transcriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job.
transcriptionJobStatus
- The status of the transcription job.TranscriptionJobStatus
,
TranscriptionJobStatus
TranscriptionJob.Builder languageCode(String languageCode)
The language code for the input speech.
languageCode
- The language code for the input speech.LanguageCode
,
LanguageCode
TranscriptionJob.Builder languageCode(LanguageCode languageCode)
The language code for the input speech.
languageCode
- The language code for the input speech.LanguageCode
,
LanguageCode
TranscriptionJob.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
,
MediaFormat
TranscriptionJob.Builder mediaFormat(MediaFormat mediaFormat)
The format of the input media file.
mediaFormat
- The format of the input media file.MediaFormat
,
MediaFormat
TranscriptionJob.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.Builder
media(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.Builder
transcript(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.
failureReason
- If the TranscriptionJobStatus
field is FAILED
, this field contains
information about why the job failed.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.Builder
settings(Settings)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.