@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Settings extends Object implements Serializable, Cloneable, StructuredPojo
Provides optional settings for the StartTranscriptionJob operation.
| Constructor and Description |
|---|
Settings() |
| Modifier and Type | Method and Description |
|---|---|
Settings |
clone() |
boolean |
equals(Object obj) |
Integer |
getMaxSpeakerLabels()
The maximum number of speakers to identify in the input audio.
|
Boolean |
getShowSpeakerLabels()
Determines whether the transcription job should use 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 |
isShowSpeakerLabels()
Determines whether the transcription job should use speaker recognition to identify different speakers in the
input audio.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setMaxSpeakerLabels(Integer maxSpeakerLabels)
The maximum number of speakers to identify in the input audio.
|
void |
setShowSpeakerLabels(Boolean showSpeakerLabels)
Determines whether the transcription job should use 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 |
withMaxSpeakerLabels(Integer maxSpeakerLabels)
The maximum number of speakers to identify in the input audio.
|
Settings |
withShowSpeakerLabels(Boolean showSpeakerLabels)
Determines whether the transcription job should use 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 void setVocabularyName(String vocabularyName)
The name of a vocabulary to use when processing the transcription job.
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.
public Settings withVocabularyName(String vocabularyName)
The name of a vocabulary to use when processing the transcription job.
vocabularyName - The name of a vocabulary to use when processing the transcription job.public void setShowSpeakerLabels(Boolean showSpeakerLabels)
Determines whether the transcription job should use speaker recognition to identify different speakers in the
input audio. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of
speaker labels MaxSpeakerLabels field.
showSpeakerLabels - Determines whether the transcription job should use speaker recognition to identify different speakers in
the input audio. If you set the ShowSpeakerLabels field to true, you must also set the
maximum number of speaker labels MaxSpeakerLabels field.public Boolean getShowSpeakerLabels()
Determines whether the transcription job should use speaker recognition to identify different speakers in the
input audio. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of
speaker labels MaxSpeakerLabels field.
ShowSpeakerLabels field to true, you must also set the
maximum number of speaker labels MaxSpeakerLabels field.public Settings withShowSpeakerLabels(Boolean showSpeakerLabels)
Determines whether the transcription job should use speaker recognition to identify different speakers in the
input audio. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of
speaker labels MaxSpeakerLabels field.
showSpeakerLabels - Determines whether the transcription job should use speaker recognition to identify different speakers in
the input audio. If you set the ShowSpeakerLabels field to true, you must also set the
maximum number of speaker labels MaxSpeakerLabels field.public Boolean isShowSpeakerLabels()
Determines whether the transcription job should use speaker recognition to identify different speakers in the
input audio. If you set the ShowSpeakerLabels field to true, you must also set the maximum number of
speaker labels MaxSpeakerLabels field.
ShowSpeakerLabels field to true, you must also set the
maximum number of speaker labels MaxSpeakerLabels field.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.
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 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.
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.
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 String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.