@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MedicalTranscriptionSetting extends Object implements Serializable, Cloneable, StructuredPojo
Optional settings for the StartMedicalTranscriptionJob operation.
Constructor and Description |
---|
MedicalTranscriptionSetting() |
Modifier and Type | Method and Description |
---|---|
MedicalTranscriptionSetting |
clone() |
boolean |
equals(Object obj) |
Boolean |
getChannelIdentification()
Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription
output of each channel into a single transcription.
|
Integer |
getMaxAlternatives()
The maximum number of alternatives that you tell the service to return.
|
Integer |
getMaxSpeakerLabels()
The maximum number of speakers to identify in the input audio.
|
Boolean |
getShowAlternatives()
Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence.
|
Boolean |
getShowSpeakerLabels()
Determines whether the transcription job uses speaker recognition to identify different speakers in the input
audio.
|
String |
getVocabularyName()
The name of the vocabulary to use when processing a medical transcription job.
|
int |
hashCode() |
Boolean |
isChannelIdentification()
Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription
output of each channel into a single transcription.
|
Boolean |
isShowAlternatives()
Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence.
|
Boolean |
isShowSpeakerLabels()
Determines whether the transcription job uses speaker recognition to identify different speakers in the input
audio.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelIdentification(Boolean channelIdentification)
Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription
output of each channel into a single transcription.
|
void |
setMaxAlternatives(Integer maxAlternatives)
The maximum number of alternatives that you tell the service to return.
|
void |
setMaxSpeakerLabels(Integer maxSpeakerLabels)
The maximum number of speakers to identify in the input audio.
|
void |
setShowAlternatives(Boolean showAlternatives)
Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence.
|
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 the vocabulary to use when processing a medical transcription job.
|
String |
toString()
Returns a string representation of this object.
|
MedicalTranscriptionSetting |
withChannelIdentification(Boolean channelIdentification)
Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription
output of each channel into a single transcription.
|
MedicalTranscriptionSetting |
withMaxAlternatives(Integer maxAlternatives)
The maximum number of alternatives that you tell the service to return.
|
MedicalTranscriptionSetting |
withMaxSpeakerLabels(Integer maxSpeakerLabels)
The maximum number of speakers to identify in the input audio.
|
MedicalTranscriptionSetting |
withShowAlternatives(Boolean showAlternatives)
Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence.
|
MedicalTranscriptionSetting |
withShowSpeakerLabels(Boolean showSpeakerLabels)
Determines whether the transcription job uses speaker recognition to identify different speakers in the input
audio.
|
MedicalTranscriptionSetting |
withVocabularyName(String vocabularyName)
The name of the vocabulary to use when processing a medical transcription job.
|
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 in the
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 in
the 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 in the
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 in
the MaxSpeakerLabels
field.
You can't set both ShowSpeakerLabels
and ChannelIdentification
in the same
request. If you set both, your request returns a BadRequestException
.
public MedicalTranscriptionSetting 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 in the
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 in
the 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 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 in the
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 in
the 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 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 are 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 are 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 are 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 MedicalTranscriptionSetting 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 are 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 are identified as a single speaker. If you specify the
MaxSpeakerLabels
field, you must set the ShowSpeakerLabels
field to true.public void setChannelIdentification(Boolean channelIdentification)
Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe Medical 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 item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.
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 Medical to process each audio channel separately and then merge the
transcription output of each channel into a single transcription.
Amazon Transcribe Medical 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 item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.
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 Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe Medical 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 item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.
You can't set both ShowSpeakerLabels
and ChannelIdentification
in the same request. If
you set both, your request returns a BadRequestException
Amazon Transcribe Medical 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 item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.
You can't set both ShowSpeakerLabels
and ChannelIdentification
in the same
request. If you set both, your request returns a BadRequestException
public MedicalTranscriptionSetting withChannelIdentification(Boolean channelIdentification)
Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe Medical 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 item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.
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 Medical to process each audio channel separately and then merge the
transcription output of each channel into a single transcription.
Amazon Transcribe Medical 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 item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.
You can't set both ShowSpeakerLabels
and ChannelIdentification
in the same
request. If you set both, your request returns a BadRequestException
public Boolean isChannelIdentification()
Instructs Amazon Transcribe Medical to process each audio channel separately and then merge the transcription output of each channel into a single transcription.
Amazon Transcribe Medical 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 item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.
You can't set both ShowSpeakerLabels
and ChannelIdentification
in the same request. If
you set both, your request returns a BadRequestException
Amazon Transcribe Medical 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 item. The alternative transcriptions also come with confidence scores provided by Amazon Transcribe Medical.
You can't set both ShowSpeakerLabels
and ChannelIdentification
in the same
request. If you set both, your request returns a BadRequestException
public void setShowAlternatives(Boolean showAlternatives)
Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence. If you set ShowAlternatives
field to true, you must also set the maximum number of
alternatives to return in the MaxAlternatives
field.
showAlternatives
- Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence. If you set ShowAlternatives
field to true, you must also set the maximum number
of alternatives to return in the MaxAlternatives
field.public Boolean getShowAlternatives()
Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence. If you set ShowAlternatives
field to true, you must also set the maximum number of
alternatives to return in the MaxAlternatives
field.
ShowAlternatives
field to true, you must also set the maximum number
of alternatives to return in the MaxAlternatives
field.public MedicalTranscriptionSetting withShowAlternatives(Boolean showAlternatives)
Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence. If you set ShowAlternatives
field to true, you must also set the maximum number of
alternatives to return in the MaxAlternatives
field.
showAlternatives
- Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence. If you set ShowAlternatives
field to true, you must also set the maximum number
of alternatives to return in the MaxAlternatives
field.public Boolean isShowAlternatives()
Determines whether alternative transcripts are generated along with the transcript that has the highest
confidence. If you set ShowAlternatives
field to true, you must also set the maximum number of
alternatives to return in the MaxAlternatives
field.
ShowAlternatives
field to true, you must also set the maximum number
of alternatives to return in the MaxAlternatives
field.public void setMaxAlternatives(Integer maxAlternatives)
The maximum number of alternatives that you tell the service to return. If you specify the
MaxAlternatives
field, you must set the ShowAlternatives
field to true.
maxAlternatives
- The maximum number of alternatives that you tell the service to return. If you specify the
MaxAlternatives
field, you must set the ShowAlternatives
field to true.public Integer getMaxAlternatives()
The maximum number of alternatives that you tell the service to return. If you specify the
MaxAlternatives
field, you must set the ShowAlternatives
field to true.
MaxAlternatives
field, you must set the ShowAlternatives
field to true.public MedicalTranscriptionSetting withMaxAlternatives(Integer maxAlternatives)
The maximum number of alternatives that you tell the service to return. If you specify the
MaxAlternatives
field, you must set the ShowAlternatives
field to true.
maxAlternatives
- The maximum number of alternatives that you tell the service to return. If you specify the
MaxAlternatives
field, you must set the ShowAlternatives
field to true.public void setVocabularyName(String vocabularyName)
The name of the vocabulary to use when processing a medical transcription job.
vocabularyName
- The name of the vocabulary to use when processing a medical transcription job.public String getVocabularyName()
The name of the vocabulary to use when processing a medical transcription job.
public MedicalTranscriptionSetting withVocabularyName(String vocabularyName)
The name of the vocabulary to use when processing a medical transcription job.
vocabularyName
- The name of the vocabulary to use when processing a medical transcription job.public String toString()
toString
in class Object
Object.toString()
public MedicalTranscriptionSetting clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.