public class TranscriptionJob
extends java.lang.Object
implements java.io.Serializable
Describes an asynchronous transcription job that was created with the
StartTranscriptionJob
operation.
Constructor and Description |
---|
TranscriptionJob() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getCompletionTime()
A timestamp that shows when the job was completed.
|
ContentRedaction |
getContentRedaction()
An object that describes content redaction settings for the transcription
job.
|
java.util.Date |
getCreationTime()
A timestamp that shows when the job was created.
|
java.lang.String |
getFailureReason()
If the
TranscriptionJobStatus field is FAILED ,
this field contains information about why the job failed. |
java.lang.Float |
getIdentifiedLanguageScore()
A value between zero and one that Amazon Transcribe assigned to the
language that it identified in the source audio.
|
java.lang.Boolean |
getIdentifyLanguage()
A value that shows if automatic language identification was enabled for a
transcription job.
|
JobExecutionSettings |
getJobExecutionSettings()
Provides information about how a transcription job is executed.
|
java.lang.String |
getLanguageCode()
The language code for the input speech.
|
java.util.List<java.lang.String> |
getLanguageOptions()
An object that shows the optional array of languages inputted for
transcription jobs with automatic language identification enabled.
|
Media |
getMedia()
An object that describes the input media for the transcription job.
|
java.lang.String |
getMediaFormat()
The format of the input media file.
|
java.lang.Integer |
getMediaSampleRateHertz()
The sample rate, in Hertz, of the audio track in the input media file.
|
ModelSettings |
getModelSettings()
An object containing the details of your custom language model.
|
Settings |
getSettings()
Optional settings for the transcription job.
|
java.util.Date |
getStartTime()
A timestamp that shows with the job was started processing.
|
Transcript |
getTranscript()
An object that describes the output of the transcription job.
|
java.lang.String |
getTranscriptionJobName()
The name of the transcription job.
|
java.lang.String |
getTranscriptionJobStatus()
The status of the transcription job.
|
int |
hashCode() |
java.lang.Boolean |
isIdentifyLanguage()
A value that shows if automatic language identification was enabled for a
transcription job.
|
void |
setCompletionTime(java.util.Date completionTime)
A timestamp that shows when the job was completed.
|
void |
setContentRedaction(ContentRedaction contentRedaction)
An object that describes content redaction settings for the transcription
job.
|
void |
setCreationTime(java.util.Date creationTime)
A timestamp that shows when the job was created.
|
void |
setFailureReason(java.lang.String failureReason)
If the
TranscriptionJobStatus field is FAILED ,
this field contains information about why the job failed. |
void |
setIdentifiedLanguageScore(java.lang.Float identifiedLanguageScore)
A value between zero and one that Amazon Transcribe assigned to the
language that it identified in the source audio.
|
void |
setIdentifyLanguage(java.lang.Boolean identifyLanguage)
A value that shows if automatic language identification was enabled for a
transcription job.
|
void |
setJobExecutionSettings(JobExecutionSettings jobExecutionSettings)
Provides information about how a transcription job is executed.
|
void |
setLanguageCode(LanguageCode languageCode)
The language code for the input speech.
|
void |
setLanguageCode(java.lang.String languageCode)
The language code for the input speech.
|
void |
setLanguageOptions(java.util.Collection<java.lang.String> languageOptions)
An object that shows the optional array of languages inputted for
transcription jobs with automatic language identification enabled.
|
void |
setMedia(Media media)
An object that describes the input media for the transcription job.
|
void |
setMediaFormat(MediaFormat mediaFormat)
The format of the input media file.
|
void |
setMediaFormat(java.lang.String mediaFormat)
The format of the input media file.
|
void |
setMediaSampleRateHertz(java.lang.Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
|
void |
setModelSettings(ModelSettings modelSettings)
An object containing the details of your custom language model.
|
void |
setSettings(Settings settings)
Optional settings for the transcription job.
|
void |
setStartTime(java.util.Date startTime)
A timestamp that shows with the job was started processing.
|
void |
setTranscript(Transcript transcript)
An object that describes the output of the transcription job.
|
void |
setTranscriptionJobName(java.lang.String transcriptionJobName)
The name of the transcription job.
|
void |
setTranscriptionJobStatus(java.lang.String transcriptionJobStatus)
The status of the transcription job.
|
void |
setTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
TranscriptionJob |
withCompletionTime(java.util.Date completionTime)
A timestamp that shows when the job was completed.
|
TranscriptionJob |
withContentRedaction(ContentRedaction contentRedaction)
An object that describes content redaction settings for the transcription
job.
|
TranscriptionJob |
withCreationTime(java.util.Date creationTime)
A timestamp that shows when the job was created.
|
TranscriptionJob |
withFailureReason(java.lang.String failureReason)
If the
TranscriptionJobStatus field is FAILED ,
this field contains information about why the job failed. |
TranscriptionJob |
withIdentifiedLanguageScore(java.lang.Float identifiedLanguageScore)
A value between zero and one that Amazon Transcribe assigned to the
language that it identified in the source audio.
|
TranscriptionJob |
withIdentifyLanguage(java.lang.Boolean identifyLanguage)
A value that shows if automatic language identification was enabled for a
transcription job.
|
TranscriptionJob |
withJobExecutionSettings(JobExecutionSettings jobExecutionSettings)
Provides information about how a transcription job is executed.
|
TranscriptionJob |
withLanguageCode(LanguageCode languageCode)
The language code for the input speech.
|
TranscriptionJob |
withLanguageCode(java.lang.String languageCode)
The language code for the input speech.
|
TranscriptionJob |
withLanguageOptions(java.util.Collection<java.lang.String> languageOptions)
An object that shows the optional array of languages inputted for
transcription jobs with automatic language identification enabled.
|
TranscriptionJob |
withLanguageOptions(java.lang.String... languageOptions)
An object that shows the optional array of languages inputted for
transcription jobs with automatic language identification enabled.
|
TranscriptionJob |
withMedia(Media media)
An object that describes the input media for the transcription job.
|
TranscriptionJob |
withMediaFormat(MediaFormat mediaFormat)
The format of the input media file.
|
TranscriptionJob |
withMediaFormat(java.lang.String mediaFormat)
The format of the input media file.
|
TranscriptionJob |
withMediaSampleRateHertz(java.lang.Integer mediaSampleRateHertz)
The sample rate, in Hertz, of the audio track in the input media file.
|
TranscriptionJob |
withModelSettings(ModelSettings modelSettings)
An object containing the details of your custom language model.
|
TranscriptionJob |
withSettings(Settings settings)
Optional settings for the transcription job.
|
TranscriptionJob |
withStartTime(java.util.Date startTime)
A timestamp that shows with the job was started processing.
|
TranscriptionJob |
withTranscript(Transcript transcript)
An object that describes the output of the transcription job.
|
TranscriptionJob |
withTranscriptionJobName(java.lang.String transcriptionJobName)
The name of the transcription job.
|
TranscriptionJob |
withTranscriptionJobStatus(java.lang.String transcriptionJobStatus)
The status of the transcription job.
|
TranscriptionJob |
withTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job.
|
public java.lang.String getTranscriptionJobName()
The name of the transcription job.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of the transcription job.
public void setTranscriptionJobName(java.lang.String transcriptionJobName)
The name of the transcription job.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
transcriptionJobName
- The name of the transcription job.
public TranscriptionJob withTranscriptionJobName(java.lang.String transcriptionJobName)
The name of the transcription job.
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 transcription job.
public java.lang.String getTranscriptionJobStatus()
The status of the transcription job.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
The status of the transcription job.
TranscriptionJobStatus
public void setTranscriptionJobStatus(java.lang.String transcriptionJobStatus)
The status of the transcription job.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
transcriptionJobStatus
- The status of the transcription job.
TranscriptionJobStatus
public TranscriptionJob withTranscriptionJobStatus(java.lang.String transcriptionJobStatus)
The status of the transcription job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
transcriptionJobStatus
- The status of the transcription job.
TranscriptionJobStatus
public void setTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
transcriptionJobStatus
- The status of the transcription job.
TranscriptionJobStatus
public TranscriptionJob withTranscriptionJobStatus(TranscriptionJobStatus transcriptionJobStatus)
The status of the transcription job.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: QUEUED, IN_PROGRESS, FAILED, COMPLETED
transcriptionJobStatus
- The status of the transcription job.
TranscriptionJobStatus
public java.lang.String getLanguageCode()
The language code for the input speech.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
The language code for the input speech.
LanguageCode
public void setLanguageCode(java.lang.String languageCode)
The language code for the input speech.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
languageCode
- The language code for the input speech.
LanguageCode
public TranscriptionJob withLanguageCode(java.lang.String languageCode)
The language code for the input speech.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
languageCode
- The language code for the input speech.
LanguageCode
public void setLanguageCode(LanguageCode languageCode)
The language code for the input speech.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
languageCode
- The language code for the input speech.
LanguageCode
public TranscriptionJob withLanguageCode(LanguageCode languageCode)
The language code for the input speech.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: af-ZA, ar-AE, ar-SA, cy-GB, 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, ga-IE, gd-GB, 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
languageCode
- The language code for the input speech.
LanguageCode
public java.lang.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(java.lang.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 TranscriptionJob withMediaSampleRateHertz(java.lang.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 java.lang.String getMediaFormat()
The format of the input media file.
Constraints:
Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm
The format of the input media file.
MediaFormat
public void setMediaFormat(java.lang.String mediaFormat)
The format of the input media file.
Constraints:
Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm
mediaFormat
- The format of the input media file.
MediaFormat
public TranscriptionJob withMediaFormat(java.lang.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, ogg, amr, webm
mediaFormat
- The format of the input media file.
MediaFormat
public void setMediaFormat(MediaFormat mediaFormat)
The format of the input media file.
Constraints:
Allowed Values: mp3, mp4, wav, flac, ogg, amr, webm
mediaFormat
- The format of the input media file.
MediaFormat
public TranscriptionJob 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, ogg, amr, webm
mediaFormat
- The format of the input media file.
MediaFormat
public Media getMedia()
An object that describes the input media for the transcription job.
An object that describes the input media for the transcription job.
public void setMedia(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.
public TranscriptionJob withMedia(Media media)
An object that describes the input media for the 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 the transcription job.
public Transcript getTranscript()
An object that describes the output of the transcription job.
An object that describes the output of the transcription job.
public void setTranscript(Transcript transcript)
An object that describes the output of the transcription job.
transcript
- An object that describes the output of the transcription job.
public TranscriptionJob withTranscript(Transcript transcript)
An object that describes the output of the transcription job.
Returns a reference to this object so that method calls can be chained together.
transcript
- An object that describes the output of the transcription job.
public java.util.Date getStartTime()
A timestamp that shows with the job was started processing.
A timestamp that shows with the job was started processing.
public void setStartTime(java.util.Date startTime)
A timestamp that shows with the job was started processing.
startTime
- A timestamp that shows with the job was started processing.
public TranscriptionJob withStartTime(java.util.Date startTime)
A timestamp that shows with the job was started processing.
Returns a reference to this object so that method calls can be chained together.
startTime
- A timestamp that shows with the job was started processing.
public java.util.Date getCreationTime()
A timestamp that shows when the job was created.
A timestamp that shows when the job was created.
public void setCreationTime(java.util.Date creationTime)
A timestamp that shows when the job was created.
creationTime
- A timestamp that shows when the job was created.
public TranscriptionJob withCreationTime(java.util.Date creationTime)
A timestamp that shows when the job was created.
Returns a reference to this object so that method calls can be chained together.
creationTime
- A timestamp that shows when the job was created.
public java.util.Date getCompletionTime()
A timestamp that shows when the job was completed.
A timestamp that shows when the job was completed.
public void setCompletionTime(java.util.Date completionTime)
A timestamp that shows when the job was completed.
completionTime
- A timestamp that shows when the job was completed.
public TranscriptionJob withCompletionTime(java.util.Date completionTime)
A timestamp that shows when the job was completed.
Returns a reference to this object so that method calls can be chained together.
completionTime
- A timestamp that shows when the job was completed.
public java.lang.String getFailureReason()
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.
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.
public void setFailureReason(java.lang.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.
public TranscriptionJob withFailureReason(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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.
public Settings getSettings()
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.
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.
public void setSettings(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.
public TranscriptionJob withSettings(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.
Returns a reference to this object so that method calls can be chained together.
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.
public ModelSettings getModelSettings()
An object containing the details of your custom language model.
An object containing the details of your custom language model.
public void setModelSettings(ModelSettings modelSettings)
An object containing the details of your custom language model.
modelSettings
- An object containing the details of your custom language model.
public TranscriptionJob withModelSettings(ModelSettings modelSettings)
An object containing the details of your custom language model.
Returns a reference to this object so that method calls can be chained together.
modelSettings
- An object containing the details of your custom language model.
public JobExecutionSettings getJobExecutionSettings()
Provides information about how a transcription job is executed.
Provides information about how a transcription job is executed.
public void setJobExecutionSettings(JobExecutionSettings jobExecutionSettings)
Provides information about how a transcription job is executed.
jobExecutionSettings
- Provides information about how a transcription job is executed.
public TranscriptionJob withJobExecutionSettings(JobExecutionSettings jobExecutionSettings)
Provides information about how a transcription job is executed.
Returns a reference to this object so that method calls can be chained together.
jobExecutionSettings
- Provides information about how a transcription job is executed.
public ContentRedaction getContentRedaction()
An object that describes content redaction settings for the transcription job.
An object that describes content redaction settings for the transcription job.
public void setContentRedaction(ContentRedaction contentRedaction)
An object that describes content redaction settings for the transcription job.
contentRedaction
- An object that describes content redaction settings for the transcription job.
public TranscriptionJob withContentRedaction(ContentRedaction contentRedaction)
An object that describes content redaction settings for the transcription job.
Returns a reference to this object so that method calls can be chained together.
contentRedaction
- An object that describes content redaction settings for the transcription job.
public java.lang.Boolean isIdentifyLanguage()
A value that shows if automatic language identification was enabled for a transcription job.
A value that shows if automatic language identification was enabled for a transcription job.
public java.lang.Boolean getIdentifyLanguage()
A value that shows if automatic language identification was enabled for a transcription job.
A value that shows if automatic language identification was enabled for a transcription job.
public void setIdentifyLanguage(java.lang.Boolean identifyLanguage)
A value that shows if automatic language identification was enabled for a transcription job.
identifyLanguage
- A value that shows if automatic language identification was enabled for a transcription job.
public TranscriptionJob withIdentifyLanguage(java.lang.Boolean identifyLanguage)
A value that shows if automatic language identification was enabled for a transcription job.
Returns a reference to this object so that method calls can be chained together.
identifyLanguage
- A value that shows if automatic language identification was enabled for a transcription job.
public java.util.List<java.lang.String> getLanguageOptions()
An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
public void setLanguageOptions(java.util.Collection<java.lang.String> languageOptions)
An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
languageOptions
- An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
public TranscriptionJob withLanguageOptions(java.lang.String... languageOptions)
An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
Returns a reference to this object so that method calls can be chained together.
languageOptions
- An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
public TranscriptionJob withLanguageOptions(java.util.Collection<java.lang.String> languageOptions)
An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
Returns a reference to this object so that method calls can be chained together.
languageOptions
- An object that shows the optional array of languages inputted for transcription jobs with automatic language identification enabled.
public java.lang.Float getIdentifiedLanguageScore()
A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.
A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.
public void setIdentifiedLanguageScore(java.lang.Float identifiedLanguageScore)
A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.
identifiedLanguageScore
- A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.
public TranscriptionJob withIdentifiedLanguageScore(java.lang.Float identifiedLanguageScore)
A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.
Returns a reference to this object so that method calls can be chained together.
identifiedLanguageScore
- A value between zero and one that Amazon Transcribe assigned to the language that it identified in the source audio. Larger values indicate that Amazon Transcribe has higher confidence in the language it identified.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.