Class CreateVocabularyResponse

    • Method Detail

      • vocabularyName

        public final String vocabularyName()

        The name you chose for your custom vocabulary.

        Returns:
        The name you chose for your custom vocabulary.
      • languageCode

        public final LanguageCode languageCode()

        The language code you selected for your custom vocabulary.

        If the service returns an enum value that is not available in the current SDK version, languageCode will return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from languageCodeAsString().

        Returns:
        The language code you selected for your custom vocabulary.
        See Also:
        LanguageCode
      • languageCodeAsString

        public final String languageCodeAsString()

        The language code you selected for your custom vocabulary.

        If the service returns an enum value that is not available in the current SDK version, languageCode will return LanguageCode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from languageCodeAsString().

        Returns:
        The language code you selected for your custom vocabulary.
        See Also:
        LanguageCode
      • vocabularyState

        public final VocabularyState vocabularyState()

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

        If the service returns an enum value that is not available in the current SDK version, vocabularyState will return VocabularyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from vocabularyStateAsString().

        Returns:
        The processing state of your custom vocabulary. If the state is READY, you can use the custom vocabulary in a StartTranscriptionJob request.
        See Also:
        VocabularyState
      • vocabularyStateAsString

        public final String vocabularyStateAsString()

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

        If the service returns an enum value that is not available in the current SDK version, vocabularyState will return VocabularyState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from vocabularyStateAsString().

        Returns:
        The processing state of your custom vocabulary. If the state is READY, you can use the custom vocabulary in a StartTranscriptionJob request.
        See Also:
        VocabularyState
      • lastModifiedTime

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

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

      • failureReason

        public final String failureReason()

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

        Returns:
        If VocabularyState is FAILED, FailureReason contains information about why the custom vocabulary request failed. See also: Common Errors.
      • 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