public class StartTranscriptionJobRequest extends AmazonWebServiceRequest implements Serializable
Starts an asynchronous job to transcribe speech to text.
| Constructor and Description |
|---|
StartTranscriptionJobRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getLanguageCode()
The language code for the language used in the input media file.
|
Media |
getMedia()
An object that describes the input media for a transcription job.
|
String |
getMediaFormat()
The format of the input media file.
|
Integer |
getMediaSampleRateHertz()
The sample rate, in Hertz, of the audio track in the input media file.
|
String |
getOutputBucketName()
The location where the transcription is stored.
|
Settings |
getSettings()
A
Settings object that provides optional settings for a
transcription job. |
String |
getTranscriptionJobName()
The name of the job.
|
int |
hashCode() |
void |
setLanguageCode(LanguageCode languageCode)
The language code for the language used in the input media file.
|
void |
setLanguageCode(String languageCode)
The language code for the language used in the input media file.
|
void |
setMedia(Media media)
An object that describes the input media for a transcription job.
|
void |
setMediaFormat(MediaFormat mediaFormat)
The format of the input media file.
|
void |
setMediaFormat(String mediaFormat)
The format of the input media file.
|
void |
setMediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
|
void |
setOutputBucketName(String outputBucketName)
The location where the transcription is stored.
|
void |
setSettings(Settings settings)
A
Settings object that provides optional settings for a
transcription job. |
void |
setTranscriptionJobName(String transcriptionJobName)
The name of the job.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StartTranscriptionJobRequest |
withLanguageCode(LanguageCode languageCode)
The language code for the language used in the input media file.
|
StartTranscriptionJobRequest |
withLanguageCode(String languageCode)
The language code for the language used in the input media file.
|
StartTranscriptionJobRequest |
withMedia(Media media)
An object that describes the input media for a transcription job.
|
StartTranscriptionJobRequest |
withMediaFormat(MediaFormat mediaFormat)
The format of the input media file.
|
StartTranscriptionJobRequest |
withMediaFormat(String mediaFormat)
The format of the input media file.
|
StartTranscriptionJobRequest |
withMediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
|
StartTranscriptionJobRequest |
withOutputBucketName(String outputBucketName)
The location where the transcription is stored.
|
StartTranscriptionJobRequest |
withSettings(Settings settings)
A
Settings object that provides optional settings for a
transcription job. |
StartTranscriptionJobRequest |
withTranscriptionJobName(String transcriptionJobName)
The name of the job.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getTranscriptionJobName()
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.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
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.
public void setTranscriptionJobName(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.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
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.
public StartTranscriptionJobRequest withTranscriptionJobName(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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
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.
public String getLanguageCode()
The language code for the language used in the input media file.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
The language code for the language used in the input media file.
LanguageCodepublic void setLanguageCode(String languageCode)
The language code for the language used in the input media file.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code for the language used in the input media file.
LanguageCodepublic StartTranscriptionJobRequest withLanguageCode(String languageCode)
The language code for the language used in the input media file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code for the language used in the input media file.
LanguageCodepublic void setLanguageCode(LanguageCode languageCode)
The language code for the language used in the input media file.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code for the language used in the input media file.
LanguageCodepublic StartTranscriptionJobRequest withLanguageCode(LanguageCode languageCode)
The language code for the language used in the input media file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: en-US, es-US, en-AU, fr-CA, en-GB, de-DE, pt-BR,
fr-FR, it-IT, ko-KR
languageCode - The language code for the language used in the input media file.
LanguageCodepublic Integer getMediaSampleRateHertz()
The sample rate, in Hertz, of the audio track in the input media file.
Constraints:
Range: 8000 - 48000
The sample rate, in Hertz, of the audio track in the input media file.
public void setMediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
Constraints:
Range: 8000 - 48000
mediaSampleRateHertz - The sample rate, in Hertz, of the audio track in the input media file.
public StartTranscriptionJobRequest withMediaSampleRateHertz(Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 8000 - 48000
mediaSampleRateHertz - The sample rate, in Hertz, of the audio track in the input media file.
public String getMediaFormat()
The format of the input media file.
Constraints:
Allowed Values: mp3, mp4, wav, flac
The format of the input media file.
MediaFormatpublic void setMediaFormat(String mediaFormat)
The format of the input media file.
Constraints:
Allowed Values: mp3, mp4, wav, flac
mediaFormat - The format of the input media file.
MediaFormatpublic StartTranscriptionJobRequest withMediaFormat(String 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
mediaFormat - The format of the input media file.
MediaFormatpublic void setMediaFormat(MediaFormat mediaFormat)
The format of the input media file.
Constraints:
Allowed Values: mp3, mp4, wav, flac
mediaFormat - The format of the input media file.
MediaFormatpublic StartTranscriptionJobRequest withMediaFormat(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
mediaFormat - The format of the input media file.
MediaFormatpublic Media getMedia()
An object that describes the input media for a transcription job.
An object that describes the input media for a transcription job.
public void setMedia(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.
public StartTranscriptionJobRequest withMedia(Media media)
An object that describes the input media for a transcription job.
Returns a reference to this object so that method calls can be chained together.
media - An object that describes the input media for a transcription job.
public String getOutputBucketName()
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.
Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket. You can't specify your own encryption key.
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.
Constraints:
Pattern: [a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]
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.
Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket. You can't specify your own encryption key.
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.
public void setOutputBucketName(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.
Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket. You can't specify your own encryption key.
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.
Constraints:
Pattern: [a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]
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.
Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket. You can't specify your own encryption key.
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.
public StartTranscriptionJobRequest withOutputBucketName(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.
Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket. You can't specify your own encryption key.
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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: [a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9]
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.
Amazon Transcribe uses the default Amazon S3 key for server-side encryption of transcripts that are placed in your S3 bucket. You can't specify your own encryption key.
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.
public Settings getSettings()
A Settings object that provides optional settings for a
transcription job.
A Settings object that provides optional settings
for a transcription job.
public void setSettings(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.
public StartTranscriptionJobRequest withSettings(Settings settings)
A Settings object that provides optional settings for a
transcription job.
Returns a reference to this object so that method calls can be chained together.
settings -
A Settings object that provides optional settings
for a transcription job.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.