Interface GetVocabularyResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetVocabularyResponse.Builder,,GetVocabularyResponse> SdkBuilder<GetVocabularyResponse.Builder,,GetVocabularyResponse> SdkPojo,SdkResponse.Builder,TranscribeResponse.Builder
- Enclosing class:
GetVocabularyResponse
-
Method Summary
Modifier and TypeMethodDescriptiondataAccessRoleArn(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 inEncryptionConfiguration.downloadUri(String downloadUri) The Amazon S3 location where the custom vocabulary is stored; use this URI to view or download the custom vocabulary.default GetVocabularyResponse.BuilderencryptionConfiguration(Consumer<EncryptionConfiguration.Builder> encryptionConfiguration) The encryption configuration used for your custom vocabulary.encryptionConfiguration(EncryptionConfiguration encryptionConfiguration) The encryption configuration used for your custom vocabulary.failureReason(String failureReason) IfVocabularyStateisFAILED,FailureReasoncontains information about why the custom vocabulary request failed.languageCode(String languageCode) The language code you selected for your custom vocabulary.languageCode(LanguageCode languageCode) The language code you selected for your custom vocabulary.lastModifiedTime(Instant lastModifiedTime) The date and time the specified custom vocabulary was last modified.vocabularyName(String vocabularyName) The name of the custom vocabulary you requested information about.vocabularyState(String vocabularyState) The processing state of your custom vocabulary.vocabularyState(VocabularyState vocabularyState) The processing state of your custom vocabulary.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.transcribe.model.TranscribeResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
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
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
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
The processing state of your custom vocabulary. If the state is
READY, you can use the custom vocabulary in aStartTranscriptionJobrequest.- Parameters:
vocabularyState- The processing state of your custom vocabulary. If the state isREADY, you can use the custom vocabulary in aStartTranscriptionJobrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vocabularyState
The processing state of your custom vocabulary. If the state is
READY, you can use the custom vocabulary in aStartTranscriptionJobrequest.- Parameters:
vocabularyState- The processing state of your custom vocabulary. If the state isREADY, you can use the custom vocabulary in aStartTranscriptionJobrequest.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:00represents 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:00represents 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
If
VocabularyStateisFAILED,FailureReasoncontains information about why the custom vocabulary request failed. See also: Common Errors.- Parameters:
failureReason- IfVocabularyStateisFAILED,FailureReasoncontains 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
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
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 inEncryptionConfiguration.- 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 theEncryptionConfiguration.Builderavoiding the need to create one manually viaEncryptionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toencryptionConfiguration(EncryptionConfiguration).- Parameters:
encryptionConfiguration- a consumer that will call methods onEncryptionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-