Interface CreateVocabularyResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<CreateVocabularyResponse.Builder,CreateVocabularyResponse>,SdkBuilder<CreateVocabularyResponse.Builder,CreateVocabularyResponse>,SdkPojo,SdkResponse.Builder,TranscribeResponse.Builder
- Enclosing class:
- CreateVocabularyResponse
public static interface CreateVocabularyResponse.Builder extends TranscribeResponse.Builder, SdkPojo, CopyableBuilder<CreateVocabularyResponse.Builder,CreateVocabularyResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CreateVocabularyResponse.BuilderfailureReason(String failureReason)IfVocabularyStateisFAILED,FailureReasoncontains information about why the custom vocabulary request failed.CreateVocabularyResponse.BuilderlanguageCode(String languageCode)The language code you selected for your custom vocabulary.CreateVocabularyResponse.BuilderlanguageCode(LanguageCode languageCode)The language code you selected for your custom vocabulary.CreateVocabularyResponse.BuilderlastModifiedTime(Instant lastModifiedTime)The date and time you created your custom vocabulary.CreateVocabularyResponse.BuildervocabularyName(String vocabularyName)The name you chose for your custom vocabulary.CreateVocabularyResponse.BuildervocabularyState(String vocabularyState)The processing state of your custom vocabulary.CreateVocabularyResponse.BuildervocabularyState(VocabularyState vocabularyState)The processing state of your custom vocabulary.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Methods inherited from interface software.amazon.awssdk.services.transcribe.model.TranscribeResponse.Builder
build, responseMetadata, responseMetadata
-
-
-
-
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 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,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 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,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:00represents 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: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
CreateVocabularyResponse.Builder failureReason(String 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.
-
-