Interface CreateVocabularyResponse.Builder

    • Method Detail

      • vocabularyName

        CreateVocabularyResponse.Builder vocabularyName​(String vocabularyName)

        The name you chose for your custom vocabulary.

        Parameters:
        vocabularyName - The name you chose for your custom vocabulary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • languageCode

        CreateVocabularyResponse.Builder languageCode​(String languageCode)

        The language code you selected for your custom vocabulary.

        Parameters:
        languageCode - The language code you selected for your custom vocabulary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • languageCode

        CreateVocabularyResponse.Builder languageCode​(LanguageCode languageCode)

        The language code you selected for your custom vocabulary.

        Parameters:
        languageCode - The language code you selected for your custom vocabulary.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        LanguageCode, LanguageCode
      • vocabularyState

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

        CreateVocabularyResponse.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
      • lastModifiedTime

        CreateVocabularyResponse.Builder lastModifiedTime​(Instant lastModifiedTime)

        The date and time you created your custom vocabulary.

        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 you created your custom vocabulary.

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

        CreateVocabularyResponse.Builder failureReason​(String failureReason)

        If VocabularyState is FAILED, FailureReason contains information about why the custom vocabulary request failed. See also: Common Errors.

        Parameters:
        failureReason - If VocabularyState is FAILED, FailureReason contains information about why the custom vocabulary request failed. See also: Common Errors.
        Returns:
        Returns a reference to this object so that method calls can be chained together.