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 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.

See Also:
  • Method Details

    • 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:
      toBuilder in interface ToCopyableBuilder<ModelSettings.Builder,ModelSettings>
    • builder

      public static ModelSettings.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ModelSettings.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Specified by:
      equalsBySdkFields in interface SdkPojo
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo