public static interface BatchCreateCustomVocabularyItemRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<BatchCreateCustomVocabularyItemRequest.Builder,BatchCreateCustomVocabularyItemRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchCreateCustomVocabularyItemRequest.Builder botId(String botId)
The identifier of the bot associated with this custom vocabulary.
botId - The identifier of the bot associated with this custom vocabulary.BatchCreateCustomVocabularyItemRequest.Builder botVersion(String botVersion)
The identifier of the version of the bot associated with this custom vocabulary.
botVersion - The identifier of the version of the bot associated with this custom vocabulary.BatchCreateCustomVocabularyItemRequest.Builder localeId(String localeId)
The identifier of the language and locale where this custom vocabulary is used. The string must match one of the supported locales. For more information, see Supported Languages .
localeId - The identifier of the language and locale where this custom vocabulary is used. The string must match
one of the supported locales. For more information, see Supported Languages .BatchCreateCustomVocabularyItemRequest.Builder customVocabularyItemList(Collection<NewCustomVocabularyItem> customVocabularyItemList)
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
customVocabularyItemList - A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a
displayAs and/or a weight.BatchCreateCustomVocabularyItemRequest.Builder customVocabularyItemList(NewCustomVocabularyItem... customVocabularyItemList)
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
customVocabularyItemList - A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a
displayAs and/or a weight.BatchCreateCustomVocabularyItemRequest.Builder customVocabularyItemList(Consumer<NewCustomVocabularyItem.Builder>... customVocabularyItemList)
A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
This is a convenience method that creates an instance of theNewCustomVocabularyItem.Builder avoiding the need
to create one manually via
NewCustomVocabularyItem.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #customVocabularyItemList(List.
customVocabularyItemList - a consumer that will call methods on
NewCustomVocabularyItem.Builder#customVocabularyItemList(java.util.Collection) BatchCreateCustomVocabularyItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderBatchCreateCustomVocabularyItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.