@Generated(value="software.amazon.awssdk:codegen") public final class Settings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Settings.Builder,Settings>
Provides optional settings for the StartTranscriptionJob
operation.
Modifier and Type | Class and Description |
---|---|
static interface |
Settings.Builder |
Modifier and Type | Method and Description |
---|---|
static Settings.Builder |
builder() |
Boolean |
channelIdentification()
Instructs Amazon Transcribe to process each audio channel separately and then merge the transcription output of
each channel into a single transcription.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
maxSpeakerLabels()
The maximum number of speakers to identify in the input audio.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends Settings.Builder> |
serializableBuilderClass() |
Boolean |
showSpeakerLabels()
Determines whether the transcription job uses speaker recognition to identify different speakers in the input
audio.
|
Settings.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
vocabularyName()
The name of a vocabulary to use when processing the transcription job.
|
copy
public String vocabularyName()
The name of a vocabulary to use when processing the transcription job.
public 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
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 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
field, you must set the ShowSpeakerLabels
field to true.public 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
.
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Settings.Builder,Settings>
public static Settings.Builder builder()
public static Class<? extends Settings.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.