Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.708

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.transcribe.model

Class ModelSettings

    • Constructor Detail

      • ModelSettings

        public ModelSettings()
    • Method Detail

      • setLanguageModelName

        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.

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

      • getLanguageModelName

        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.

        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.

      • withLanguageModelName

        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.

        Parameters:
        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:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public 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
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object