Interface BatchCreateCustomVocabularyItemRequest.Builder
- All Superinterfaces:
 AwsRequest.Builder,Buildable,CopyableBuilder<BatchCreateCustomVocabularyItemRequest.Builder,,BatchCreateCustomVocabularyItemRequest> LexModelsV2Request.Builder,SdkBuilder<BatchCreateCustomVocabularyItemRequest.Builder,,BatchCreateCustomVocabularyItemRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
 BatchCreateCustomVocabularyItemRequest
- 
Method Summary
Modifier and TypeMethodDescriptionThe identifier of the bot associated with this custom vocabulary.botVersion(String botVersion) The identifier of the version of the bot associated with this custom vocabulary.customVocabularyItemList(Collection<NewCustomVocabularyItem> customVocabularyItemList) A list of new custom vocabulary items.customVocabularyItemList(Consumer<NewCustomVocabularyItem.Builder>... customVocabularyItemList) A list of new custom vocabulary items.customVocabularyItemList(NewCustomVocabularyItem... customVocabularyItemList) A list of new custom vocabulary items.The identifier of the language and locale where this custom vocabulary is used.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields 
- 
Method Details
- 
botId
The identifier of the bot associated with this custom vocabulary.
- Parameters:
 botId- The identifier of the bot associated with this custom vocabulary.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
botVersion
The identifier of the version of the bot associated with this custom vocabulary.
- Parameters:
 botVersion- The identifier of the version of the bot associated with this custom vocabulary.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
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 .
- Parameters:
 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 .- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
customVocabularyItemList
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.
- Parameters:
 customVocabularyItemList- A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
customVocabularyItemList
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.
- Parameters:
 customVocabularyItemList- A list of new custom vocabulary items. Each entry must contain a phrase and can optionally contain a displayAs and/or a weight.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
customVocabularyItemList
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.Builderavoiding the need to create one manually viaNewCustomVocabularyItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustomVocabularyItemList(List<NewCustomVocabularyItem>).- Parameters:
 customVocabularyItemList- a consumer that will call methods onNewCustomVocabularyItem.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 - 
overrideConfiguration
BatchCreateCustomVocabularyItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 overrideConfiguration- The override configuration.- Returns:
 - This object for method chaining.
 
 - 
overrideConfiguration
BatchCreateCustomVocabularyItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
 overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
 builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
 - This object for method chaining.
 
 
 -