public class Settings extends Object implements Serializable
Provides optional settings for the StartTranscriptionJob
operation.
| Constructor and Description |
|---|
Settings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Boolean |
getChannelIdentification()
Instructs Amazon Transcribe to process each audio channel separately and
then merge the transcription output of each channel into a single
transcription.
|
Integer |
getMaxSpeakerLabels()
The maximum number of speakers to identify in the input audio.
|
Boolean |
getShowSpeakerLabels()
Determines whether the transcription job uses speaker recognition to
identify different speakers in the input audio.
|
String |
getVocabularyName()
The name of a vocabulary to use when processing the transcription job.
|
int |
hashCode() |
Boolean |
isChannelIdentification()
Instructs Amazon Transcribe to process each audio channel separately and
then merge the transcription output of each channel into a single
transcription.
|
Boolean |
isShowSpeakerLabels()
Determines whether the transcription job uses speaker recognition to
identify different speakers in the input audio.
|
void |
setChannelIdentification(Boolean channelIdentification)
Instructs Amazon Transcribe to process each audio channel separately and
then merge the transcription output of each channel into a single
transcription.
|
void |
setMaxSpeakerLabels(Integer maxSpeakerLabels)
The maximum number of speakers to identify in the input audio.
|
void |
setShowSpeakerLabels(Boolean showSpeakerLabels)
Determines whether the transcription job uses speaker recognition to
identify different speakers in the input audio.
|
void |
setVocabularyName(String vocabularyName)
The name of a vocabulary to use when processing the transcription job.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
Settings |
withChannelIdentification(Boolean channelIdentification)
Instructs Amazon Transcribe to process each audio channel separately and
then merge the transcription output of each channel into a single
transcription.
|
Settings |
withMaxSpeakerLabels(Integer maxSpeakerLabels)
The maximum number of speakers to identify in the input audio.
|
Settings |
withShowSpeakerLabels(Boolean showSpeakerLabels)
Determines whether the transcription job uses speaker recognition to
identify different speakers in the input audio.
|
Settings |
withVocabularyName(String vocabularyName)
The name of a vocabulary to use when processing the transcription job.
|
public String getVocabularyName()
The name of a vocabulary to use when processing the transcription job.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
The name of a vocabulary to use when processing the transcription job.
public void setVocabularyName(String vocabularyName)
The name of a vocabulary to use when processing the transcription job.
Constraints:
Length: 1 - 200
Pattern: ^[0-9a-zA-Z._-]+
vocabularyName - The name of a vocabulary to use when processing the transcription job.
public Settings withVocabularyName(String vocabularyName)
The name of a vocabulary to use when processing 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._-]+
vocabularyName - The name of a vocabulary to use when processing the transcription job.
public Boolean isShowSpeakerLabels()
Determines whether the transcription job uses speaker recognition to
identify different speakers in the input audio. Speaker recognition
labels individual speakers in the audio file. If you set the
ShowSpeakerLabels field to true, you must also set the
maximum number of speaker labels MaxSpeakerLabels field.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you set both,
your request returns a BadRequestException.
Determines whether the transcription job uses speaker recognition
to identify different speakers in the input audio. Speaker
recognition labels individual speakers in the audio file. If you
set the ShowSpeakerLabels field to true, you must
also set the maximum number of speaker labels
MaxSpeakerLabels field.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you
set both, your request returns a BadRequestException
.
public Boolean getShowSpeakerLabels()
Determines whether the transcription job uses speaker recognition to
identify different speakers in the input audio. Speaker recognition
labels individual speakers in the audio file. If you set the
ShowSpeakerLabels field to true, you must also set the
maximum number of speaker labels MaxSpeakerLabels field.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you set both,
your request returns a BadRequestException.
Determines whether the transcription job uses speaker recognition
to identify different speakers in the input audio. Speaker
recognition labels individual speakers in the audio file. If you
set the ShowSpeakerLabels field to true, you must
also set the maximum number of speaker labels
MaxSpeakerLabels field.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you
set both, your request returns a BadRequestException
.
public void setShowSpeakerLabels(Boolean showSpeakerLabels)
Determines whether the transcription job uses speaker recognition to
identify different speakers in the input audio. Speaker recognition
labels individual speakers in the audio file. If you set the
ShowSpeakerLabels field to true, you must also set the
maximum number of speaker labels MaxSpeakerLabels field.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you set both,
your request returns a BadRequestException.
showSpeakerLabels -
Determines whether the transcription job uses speaker
recognition to identify different speakers in the input audio.
Speaker recognition labels individual speakers in the audio
file. If you set the ShowSpeakerLabels field to
true, you must also set the maximum number of speaker labels
MaxSpeakerLabels field.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you
set both, your request returns a
BadRequestException.
public Settings withShowSpeakerLabels(Boolean showSpeakerLabels)
Determines whether the transcription job uses speaker recognition to
identify different speakers in the input audio. Speaker recognition
labels individual speakers in the audio file. If you set the
ShowSpeakerLabels field to true, you must also set the
maximum number of speaker labels MaxSpeakerLabels field.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you set both,
your request returns a BadRequestException.
Returns a reference to this object so that method calls can be chained together.
showSpeakerLabels -
Determines whether the transcription job uses speaker
recognition to identify different speakers in the input audio.
Speaker recognition labels individual speakers in the audio
file. If you set the ShowSpeakerLabels field to
true, you must also set the maximum number of speaker labels
MaxSpeakerLabels field.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you
set both, your request returns a
BadRequestException.
public Integer getMaxSpeakerLabels()
The maximum number of speakers to identify in the input audio. If there
are more speakers in the audio than this number, multiple speakers will
be identified as a single speaker. If you specify the
MaxSpeakerLabels field, you must set the
ShowSpeakerLabels field to true.
Constraints:
Range: 2 - 10
The maximum number of speakers to identify in the input audio. If
there are more speakers in the audio than this number, multiple
speakers will be identified as a single speaker. If you specify
the MaxSpeakerLabels field, you must set the
ShowSpeakerLabels field to true.
public void setMaxSpeakerLabels(Integer maxSpeakerLabels)
The maximum number of speakers to identify in the input audio. If there
are more speakers in the audio than this number, multiple speakers will
be identified as a single speaker. If you specify the
MaxSpeakerLabels field, you must set the
ShowSpeakerLabels field to true.
Constraints:
Range: 2 - 10
maxSpeakerLabels -
The maximum number of speakers to identify in the input audio.
If there are more speakers in the audio than this number,
multiple speakers will be identified as a single speaker. If
you specify the MaxSpeakerLabels field, you must
set the ShowSpeakerLabels field to true.
public Settings withMaxSpeakerLabels(Integer maxSpeakerLabels)
The maximum number of speakers to identify in the input audio. If there
are more speakers in the audio than this number, multiple speakers will
be identified as a single speaker. If you specify the
MaxSpeakerLabels field, you must set the
ShowSpeakerLabels field to true.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 2 - 10
maxSpeakerLabels -
The maximum number of speakers to identify in the input audio.
If there are more speakers in the audio than this number,
multiple speakers will be identified as a single speaker. If
you specify the MaxSpeakerLabels field, you must
set the ShowSpeakerLabels field to true.
public Boolean isChannelIdentification()
Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you set both,
your request returns a BadRequestException.
Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you
set both, your request returns a BadRequestException
.
public Boolean getChannelIdentification()
Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you set both,
your request returns a BadRequestException.
Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you
set both, your request returns a BadRequestException
.
public void setChannelIdentification(Boolean channelIdentification)
Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you set both,
your request returns a BadRequestException.
channelIdentification - Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you
set both, your request returns a
BadRequestException.
public Settings withChannelIdentification(Boolean channelIdentification)
Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you set both,
your request returns a BadRequestException.
Returns a reference to this object so that method calls can be chained together.
channelIdentification - Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe also produces a transcription of each item detected on an audio channel, including the start time and end time of the item and alternative transcriptions of the item including the confidence that Amazon Transcribe has in the transcription.
You can't set both ShowSpeakerLabels and
ChannelIdentification in the same request. If you
set both, your request returns a
BadRequestException.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.