Class ModelSettings
- java.lang.Object
-
- software.amazon.awssdk.services.transcribe.model.ModelSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelSettings.Builder,ModelSettings>
@Generated("software.amazon.awssdk:codegen") public final class ModelSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelSettings.Builder,ModelSettings>
Provides the name of the custom language model that was included in the specified transcription job.
Only use
ModelSettingswith theLanguageModelNamesub-parameter if you're not using automatic language identification (). If usingLanguageIdSettingsin your request, this parameter contains aLanguageModelNamesub-parameter.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelSettings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringlanguageModelName()The name of the custom language model you want to use when processing your transcription job.List<SdkField<?>>sdkFields()static Class<? extends ModelSettings.Builder>serializableBuilderClass()ModelSettings.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
languageModelName
public final 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.
- Returns:
- 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.
-
toBuilder
public ModelSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelSettings.Builder,ModelSettings>
-
builder
public static ModelSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelSettings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-