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 that represents the language of the entries in your custom vocabulary.
|
CreateVocabularyRequest.Builder |
languageCode(String languageCode)
The language code that represents the language of the entries in your custom vocabulary.
|
CreateVocabularyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateVocabularyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateVocabularyRequest.Builder |
phrases(Collection<String> phrases)
Use this flag to include a list of terms within your request.
|
CreateVocabularyRequest.Builder |
phrases(String... phrases)
Use this flag to include a list of terms within your request.
|
CreateVocabularyRequest.Builder |
tags(Collection<Tag> tags)
Adds one or more tags, each in the form of a key:value pair, to a new custom 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 custom 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 custom vocabulary at the time you
create this new vocabulary.
|
CreateVocabularyRequest.Builder |
vocabularyFileUri(String vocabularyFileUri)
The S3 location of the text file that contains your custom vocabulary.
|
CreateVocabularyRequest.Builder |
vocabularyName(String vocabularyName)
The name of your new vocabulary.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateVocabularyRequest.Builder vocabularyName(String vocabularyName)
The name of your new vocabulary.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services account.
If you try to create a vocabulary with the same name as a previous vocabulary, you get a
ConflictException error.
vocabularyName - The name of your new vocabulary.
This name is case sensitive, cannot contain spaces, and must be unique within an Amazon Web Services
account. If you try to create a vocabulary with the same name as a previous vocabulary, you get a
ConflictException error.
CreateVocabularyRequest.Builder languageCode(String languageCode)
The language code that represents the language of the entries in your custom vocabulary. Each vocabulary must contain terms in only one language. For a list of languages and their corresponding language codes, see Supported languages.
languageCode - The language code that represents the language of the entries in your custom vocabulary. Each
vocabulary must contain terms in only one language. For a list of languages and their corresponding
language codes, see Supported
languages.LanguageCode,
LanguageCodeCreateVocabularyRequest.Builder languageCode(LanguageCode languageCode)
The language code that represents the language of the entries in your custom vocabulary. Each vocabulary must contain terms in only one language. For a list of languages and their corresponding language codes, see Supported languages.
languageCode - The language code that represents the language of the entries in your custom vocabulary. Each
vocabulary must contain terms in only one language. For a list of languages and their corresponding
language codes, see Supported
languages.LanguageCode,
LanguageCodeCreateVocabularyRequest.Builder phrases(Collection<String> phrases)
Use this flag to include a list of terms within your request.
Note that if you include Phrases in your request, you cannot use VocabularyFileUri;
you must choose one or the other.
phrases - Use this flag to include a list of terms within your request.
Note that if you include Phrases in your request, you cannot use
VocabularyFileUri; you must choose one or the other.
CreateVocabularyRequest.Builder phrases(String... phrases)
Use this flag to include a list of terms within your request.
Note that if you include Phrases in your request, you cannot use VocabularyFileUri;
you must choose one or the other.
phrases - Use this flag to include a list of terms within your request.
Note that if you include Phrases in your request, you cannot use
VocabularyFileUri; you must choose one or the other.
CreateVocabularyRequest.Builder vocabularyFileUri(String vocabularyFileUri)
The S3 location of the text file that contains your custom vocabulary. The URI must be located in the same region as the API endpoint you're calling.
Here's an example URI path:
https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt
Note that if you include VocabularyFileUri in your request, you cannot use the
Phrases flag; you must choose one or the other.
vocabularyFileUri - The S3 location of the text file that contains your custom vocabulary. The URI must be located in the
same region as the API endpoint you're calling.
Here's an example URI path:
https://s3.us-east-1.amazonaws.com/my-s3-bucket/my-vocab-file.txt
Note that if you include VocabularyFileUri in your request, you cannot use the
Phrases flag; you must choose one or the other.
CreateVocabularyRequest.Builder tags(Collection<Tag> tags)
Adds one or more tags, each in the form of a key:value pair, to a new custom 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 custom 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 custom 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 custom 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 custom vocabulary at the time you create this new vocabulary.
This is a convenience method 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 © 2022. All rights reserved.