public static interface CreateVocabularyRequest.Builder extends TranscribeRequest.Builder, SdkPojo, CopyableBuilder<CreateVocabularyRequest.Builder,CreateVocabularyRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateVocabularyRequest.Builder |
languageCode(LanguageCode languageCode)
The language code of the vocabulary entries.
|
CreateVocabularyRequest.Builder |
languageCode(String languageCode)
The language code of the vocabulary entries.
|
CreateVocabularyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateVocabularyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateVocabularyRequest.Builder |
phrases(Collection<String> phrases)
An array of strings that contains the vocabulary entries.
|
CreateVocabularyRequest.Builder |
phrases(String... phrases)
An array of strings that contains the vocabulary entries.
|
CreateVocabularyRequest.Builder |
tags(Collection<Tag> tags)
Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the
time you create this new vocabulary.
|
CreateVocabularyRequest.Builder |
tags(Consumer<Tag.Builder>... tags)
Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the
time you create this new vocabulary.
|
CreateVocabularyRequest.Builder |
tags(Tag... tags)
Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the
time you create this new vocabulary.
|
CreateVocabularyRequest.Builder |
vocabularyFileUri(String vocabularyFileUri)
The S3 location of the text file that contains the definition of the custom vocabulary.
|
CreateVocabularyRequest.Builder |
vocabularyName(String vocabularyName)
The name of the vocabulary.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateVocabularyRequest.Builder vocabularyName(String vocabularyName)
The name of the vocabulary. The name must be unique within an Amazon Web Services account. The name is case
sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will receive a
ConflictException error.
vocabularyName - The name of the vocabulary. The name must be unique within an Amazon Web Services account. The name is
case sensitive. If you try to create a vocabulary with the same name as a previous vocabulary you will
receive a ConflictException error.CreateVocabularyRequest.Builder languageCode(String languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see transcribe-whatis.
languageCode - The language code of the vocabulary entries. For a list of languages and their corresponding language
codes, see transcribe-whatis.LanguageCode,
LanguageCodeCreateVocabularyRequest.Builder languageCode(LanguageCode languageCode)
The language code of the vocabulary entries. For a list of languages and their corresponding language codes, see transcribe-whatis.
languageCode - The language code of the vocabulary entries. For a list of languages and their corresponding language
codes, see transcribe-whatis.LanguageCode,
LanguageCodeCreateVocabularyRequest.Builder phrases(Collection<String> phrases)
An array of strings that contains the vocabulary entries.
phrases - An array of strings that contains the vocabulary entries.CreateVocabularyRequest.Builder phrases(String... phrases)
An array of strings that contains the vocabulary entries.
phrases - An array of strings that contains the vocabulary entries.CreateVocabularyRequest.Builder vocabularyFileUri(String vocabularyFileUri)
The S3 location of the text file that contains the definition of the custom vocabulary. The URI must be in the same region as the API endpoint that you are calling. The general form is:
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Custom vocabularies.
vocabularyFileUri - The S3 location of the text file that contains the definition of the custom vocabulary. The URI must
be in the same region as the API endpoint that you are calling. The general form is:
For more information about S3 object names, see Object Keys in the Amazon S3 Developer Guide.
For more information about custom vocabularies, see Custom vocabularies.
CreateVocabularyRequest.Builder tags(Collection<Tag> tags)
Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary.
tags - Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at
the time you create this new vocabulary.CreateVocabularyRequest.Builder tags(Tag... tags)
Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary.
tags - Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at
the time you create this new vocabulary.CreateVocabularyRequest.Builder tags(Consumer<Tag.Builder>... tags)
Adds one or more tags, each in the form of a key:value pair, to a new Amazon Transcribe vocabulary at the time you create this new vocabulary.
This is a convenience that creates an instance of theList.Builder avoiding the need to create
one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and its result
is passed to #tags(List) .tags - a consumer that will call methods on List.Builder #tags(List) CreateVocabularyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateVocabularyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2021. All rights reserved.