@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModelSettings extends Object implements Serializable, Cloneable, StructuredPojo
Provides the name of the custom language model that was included in the specified transcription job.
Only use ModelSettings
with the LanguageModelName
sub-parameter if you're not using
automatic language identification (). If using
LanguageIdSettings
in your request, this parameter
contains a LanguageModelName
sub-parameter.
Constructor and Description |
---|
ModelSettings() |
Modifier and Type | Method and Description |
---|---|
ModelSettings |
clone() |
boolean |
equals(Object obj) |
String |
getLanguageModelName()
The name of the custom language model you want to use when processing your transcription job.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLanguageModelName(String languageModelName)
The name of the custom language model you want to use when processing your transcription job.
|
String |
toString()
Returns a string representation of this object.
|
ModelSettings |
withLanguageModelName(String languageModelName)
The name of the custom language model you want to use when processing your transcription job.
|
public void setLanguageModelName(String languageModelName)
The name of the custom language model you want to use when processing your transcription job. Note that custom language model names are case sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
languageModelName
- The name of the custom language model you want to use when processing your transcription job. Note that
custom language model names are case sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
public String getLanguageModelName()
The name of the custom language model you want to use when processing your transcription job. Note that custom language model names are case sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
public ModelSettings withLanguageModelName(String languageModelName)
The name of the custom language model you want to use when processing your transcription job. Note that custom language model names are case sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
languageModelName
- The name of the custom language model you want to use when processing your transcription job. Note that
custom language model names are case sensitive.
The language of the specified custom language model must match the language code that you specify in your transcription request. If the languages do not match, the custom language model isn't applied. There are no errors or warnings associated with a language mismatch.
public String toString()
toString
in class Object
Object.toString()
public ModelSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.