Interface BatchUpdateCustomVocabularyItemRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchUpdateCustomVocabularyItemRequest.Builder,BatchUpdateCustomVocabularyItemRequest>,LexModelsV2Request.Builder,SdkBuilder<BatchUpdateCustomVocabularyItemRequest.Builder,BatchUpdateCustomVocabularyItemRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- BatchUpdateCustomVocabularyItemRequest
public static interface BatchUpdateCustomVocabularyItemRequest.Builder extends LexModelsV2Request.Builder, SdkPojo, CopyableBuilder<BatchUpdateCustomVocabularyItemRequest.Builder,BatchUpdateCustomVocabularyItemRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
botId
BatchUpdateCustomVocabularyItemRequest.Builder botId(String 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
BatchUpdateCustomVocabularyItemRequest.Builder botVersion(String 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
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 .
- 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
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customVocabularyItemList
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customVocabularyItemList
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.Builderavoiding the need to create one manually viaCustomVocabularyItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customVocabularyItemList(List.) - Parameters:
customVocabularyItemList- a consumer that will call methods onCustomVocabularyItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#customVocabularyItemList(java.util.Collection)
-
overrideConfiguration
BatchUpdateCustomVocabularyItemRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
BatchUpdateCustomVocabularyItemRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-