Interface GetVocabularyResponse.Builder

  • Method Details

    • vocabularyName

      GetVocabularyResponse.Builder vocabularyName(String vocabularyName)

      The name of the custom vocabulary you requested information about.

      Parameters:
      vocabularyName - The name of the custom vocabulary you requested information about.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • languageCode

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

      GetVocabularyResponse.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:
    • vocabularyState

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

      GetVocabularyResponse.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:
    • lastModifiedTime

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

      GetVocabularyResponse.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.
    • downloadUri

      GetVocabularyResponse.Builder downloadUri(String downloadUri)

      The Amazon S3 location where the custom vocabulary is stored; use this URI to view or download the custom vocabulary.

      Parameters:
      downloadUri - The Amazon S3 location where the custom vocabulary is stored; use this URI to view or download the custom vocabulary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dataAccessRoleArn

      GetVocabularyResponse.Builder dataAccessRoleArn(String dataAccessRoleArn)

      The Amazon Resource Name (ARN) of the IAM role used to access the Amazon S3 bucket that contains your input files and, if applicable, the KMS key specified in EncryptionConfiguration.

      Parameters:
      dataAccessRoleArn - The Amazon Resource Name (ARN) of the IAM role used to access the Amazon S3 bucket that contains your input files and, if applicable, the KMS key specified in EncryptionConfiguration.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      GetVocabularyResponse.Builder encryptionConfiguration(EncryptionConfiguration encryptionConfiguration)

      The encryption configuration used for your custom vocabulary.

      Parameters:
      encryptionConfiguration - The encryption configuration used for your custom vocabulary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionConfiguration

      default GetVocabularyResponse.Builder encryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration)

      The encryption configuration used for your custom vocabulary.

      This is a convenience method that creates an instance of the EncryptionConfiguration.Builder avoiding the need to create one manually via EncryptionConfiguration.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to encryptionConfiguration(EncryptionConfiguration).

      Parameters:
      encryptionConfiguration - a consumer that will call methods on EncryptionConfiguration.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: