Interface VocabularyInfo.Builder

    • Method Detail

      • vocabularyName

        VocabularyInfo.Builder vocabularyName​(String vocabularyName)

        A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.

        Parameters:
        vocabularyName - A unique name, chosen by you, for your custom vocabulary. This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageCode

        VocabularyInfo.Builder languageCode​(String languageCode)

        The language code used to create your custom vocabulary. Each custom vocabulary must contain terms in only one language.

        A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (en-US), you can only apply this custom vocabulary to files that contain English audio.

        Parameters:
        languageCode - The language code used to create your custom vocabulary. Each custom vocabulary must contain terms in only one language.

        A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (en-US), you can only apply this custom vocabulary to files that contain English audio.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • languageCode

        VocabularyInfo.Builder languageCode​(LanguageCode languageCode)

        The language code used to create your custom vocabulary. Each custom vocabulary must contain terms in only one language.

        A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (en-US), you can only apply this custom vocabulary to files that contain English audio.

        Parameters:
        languageCode - The language code used to create your custom vocabulary. Each custom vocabulary must contain terms in only one language.

        A custom vocabulary can only be used to transcribe files in the same language as the custom vocabulary. For example, if you create a custom vocabulary using US English (en-US), you can only apply this custom vocabulary to files that contain English audio.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • lastModifiedTime

        VocabularyInfo.Builder lastModifiedTime​(Instant lastModifiedTime)

        The date and time the specified custom vocabulary was last modified.

        Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022.

        Parameters:
        lastModifiedTime - The date and time the specified custom vocabulary was last modified.

        Timestamps are in the format YYYY-MM-DD'T'HH:MM:SS.SSSSSS-UTC. For example, 2022-05-04T12:32:58.761000-07:00 represents 12:32 PM UTC-7 on May 4, 2022.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • vocabularyState

        VocabularyInfo.Builder vocabularyState​(String vocabularyState)

        The processing state of your custom vocabulary. If the state is READY, you can use the custom vocabulary in a StartTranscriptionJob request.

        Parameters:
        vocabularyState - The processing state of your custom vocabulary. If the state is READY, you can use the custom vocabulary in a StartTranscriptionJob request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VocabularyState, VocabularyState
      • vocabularyState

        VocabularyInfo.Builder vocabularyState​(VocabularyState vocabularyState)

        The processing state of your custom vocabulary. If the state is READY, you can use the custom vocabulary in a StartTranscriptionJob request.

        Parameters:
        vocabularyState - The processing state of your custom vocabulary. If the state is READY, you can use the custom vocabulary in a StartTranscriptionJob request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        VocabularyState, VocabularyState