public static interface BatchUpdateCustomVocabularyItemRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<BatchUpdateCustomVocabularyItemRequest.Builder,BatchUpdateCustomVocabularyItemRequest>
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildBatchUpdateCustomVocabularyItemRequest.Builder botId(String botId)
The identifier of the bot associated with this custom vocabulary
botId - The identifier of the bot associated with this custom vocabularyBatchUpdateCustomVocabularyItemRequest.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.BatchUpdateCustomVocabularyItemRequest.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 .BatchUpdateCustomVocabularyItemRequest.Builder customVocabularyItemList(Collection<CustomVocabularyItem> customVocabularyItemList)
A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
customVocabularyItemList - A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can
optionally contain a displayAs and/or a weight.BatchUpdateCustomVocabularyItemRequest.Builder customVocabularyItemList(CustomVocabularyItem... customVocabularyItemList)
A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.
customVocabularyItemList - A list of custom vocabulary items with updated fields. Each entry must contain a phrase and can
optionally contain a displayAs and/or a weight.BatchUpdateCustomVocabularyItemRequest.Builder customVocabularyItemList(Consumer<CustomVocabularyItem.Builder>... customVocabularyItemList)
A list of custom vocabulary items with updated fields. 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 theCustomVocabularyItem.Builder avoiding the need to
create one manually via
CustomVocabularyItem.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
CustomVocabularyItem.Builder#customVocabularyItemList(java.util.Collection) BatchUpdateCustomVocabularyItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderBatchUpdateCustomVocabularyItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.