public static interface StartTranscriptionJobRequest.Builder extends TranscribeRequest.Builder, SdkPojo, CopyableBuilder<StartTranscriptionJobRequest.Builder,StartTranscriptionJobRequest>
Modifier and Type | Method and Description |
---|---|
StartTranscriptionJobRequest.Builder |
languageCode(LanguageCode languageCode)
The language code for the language used in the input media file.
|
StartTranscriptionJobRequest.Builder |
languageCode(String languageCode)
The language code for the language used in the input media file.
|
default StartTranscriptionJobRequest.Builder |
media(Consumer<Media.Builder> media)
An object that describes the input media for a transcription job.
|
StartTranscriptionJobRequest.Builder |
media(Media media)
An object that describes the input media for a transcription job.
|
StartTranscriptionJobRequest.Builder |
mediaFormat(MediaFormat mediaFormat)
The format of the input media file.
|
StartTranscriptionJobRequest.Builder |
mediaFormat(String mediaFormat)
The format of the input media file.
|
StartTranscriptionJobRequest.Builder |
mediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
|
StartTranscriptionJobRequest.Builder |
outputBucketName(String outputBucketName)
The location where the transcription is stored.
|
StartTranscriptionJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
StartTranscriptionJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
default StartTranscriptionJobRequest.Builder |
settings(Consumer<Settings.Builder> settings)
A
Settings object that provides optional settings for a transcription job. |
StartTranscriptionJobRequest.Builder |
settings(Settings settings)
A
Settings object that provides optional settings for a transcription job. |
StartTranscriptionJobRequest.Builder |
transcriptionJobName(String transcriptionJobName)
The name of the job.
|
build
overrideConfiguration
copy
applyMutation, build
StartTranscriptionJobRequest.Builder transcriptionJobName(String transcriptionJobName)
The name of the job. Note that you can't use the strings "." or ".." by themselves as the job name. The name must also be unique within an AWS account.
transcriptionJobName
- The name of the job. Note that you can't use the strings "." or ".." by themselves as the job name.
The name must also be unique within an AWS account.StartTranscriptionJobRequest.Builder languageCode(String languageCode)
The language code for the language used in the input media file.
languageCode
- The language code for the language used in the input media file.LanguageCode
,
LanguageCode
StartTranscriptionJobRequest.Builder languageCode(LanguageCode languageCode)
The language code for the language used in the input media file.
languageCode
- The language code for the language used in the input media file.LanguageCode
,
LanguageCode
StartTranscriptionJobRequest.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.StartTranscriptionJobRequest.Builder mediaFormat(String mediaFormat)
The format of the input media file.
mediaFormat
- The format of the input media file.MediaFormat
,
MediaFormat
StartTranscriptionJobRequest.Builder mediaFormat(MediaFormat mediaFormat)
The format of the input media file.
mediaFormat
- The format of the input media file.MediaFormat
,
MediaFormat
StartTranscriptionJobRequest.Builder media(Media media)
An object that describes the input media for a transcription job.
media
- An object that describes the input media for a transcription job.default StartTranscriptionJobRequest.Builder media(Consumer<Media.Builder> media)
An object that describes the input media for a 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)
StartTranscriptionJobRequest.Builder outputBucketName(String outputBucketName)
The location where the transcription is stored.
If you set the OutputBucketName
, Amazon Transcribe puts the transcription in the specified S3
bucket. When you call the GetTranscriptionJob operation, the operation returns this location in the
TranscriptFileUri
field. The S3 bucket must have permissions that allow Amazon Transcribe to put
files in the bucket. For more information, see Permissions Required for IAM User Roles.
If you don't set the OutputBucketName
, Amazon Transcribe generates a pre-signed URL, a shareable
URL that provides secure access to your transcription, and returns it in the TranscriptFileUri
field. Use this URL to download the transcription.
outputBucketName
- The location where the transcription is stored.
If you set the OutputBucketName
, Amazon Transcribe puts the transcription in the
specified S3 bucket. When you call the GetTranscriptionJob operation, the operation returns
this location in the TranscriptFileUri
field. The S3 bucket must have permissions that
allow Amazon Transcribe to put files in the bucket. For more information, see Permissions Required for IAM User Roles.
If you don't set the OutputBucketName
, Amazon Transcribe generates a pre-signed URL, a
shareable URL that provides secure access to your transcription, and returns it in the
TranscriptFileUri
field. Use this URL to download the transcription.
StartTranscriptionJobRequest.Builder settings(Settings settings)
A Settings
object that provides optional settings for a transcription job.
settings
- A Settings
object that provides optional settings for a transcription job.default StartTranscriptionJobRequest.Builder settings(Consumer<Settings.Builder> settings)
A Settings
object that provides optional settings for a transcription job.
Settings.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)
StartTranscriptionJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.StartTranscriptionJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.