Interface UpdateBotRecommendationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateBotRecommendationRequest.Builder,
,UpdateBotRecommendationRequest> LexModelsV2Request.Builder
,SdkBuilder<UpdateBotRecommendationRequest.Builder,
,UpdateBotRecommendationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateBotRecommendationRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot containing the bot recommendation to be updated.botRecommendationId
(String botRecommendationId) The unique identifier of the bot recommendation to be updated.botVersion
(String botVersion) The version of the bot containing the bot recommendation to be updated.encryptionSetting
(Consumer<EncryptionSetting.Builder> encryptionSetting) The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.encryptionSetting
(EncryptionSetting encryptionSetting) The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.The identifier of the language and locale of the bot recommendation to update.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
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 Details
-
botId
The unique identifier of the bot containing the bot recommendation to be updated.
- Parameters:
botId
- The unique identifier of the bot containing the bot recommendation to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot containing the bot recommendation to be updated.
- Parameters:
botVersion
- The version of the bot containing the bot recommendation to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
localeId
The identifier of the language and locale of the bot recommendation to update. The string must match one of the supported locales. For more information, see Supported languages
- Parameters:
localeId
- The identifier of the language and locale of the bot recommendation to update. 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.
-
botRecommendationId
The unique identifier of the bot recommendation to be updated.
- Parameters:
botRecommendationId
- The unique identifier of the bot recommendation to be updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionSetting
The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
- Parameters:
encryptionSetting
- The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionSetting
default UpdateBotRecommendationRequest.Builder encryptionSetting(Consumer<EncryptionSetting.Builder> encryptionSetting) The object representing the passwords that will be used to encrypt the data related to the bot recommendation results, as well as the KMS key ARN used to encrypt the associated metadata.
This is a convenience method that creates an instance of theEncryptionSetting.Builder
avoiding the need to create one manually viaEncryptionSetting.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toencryptionSetting(EncryptionSetting)
.- Parameters:
encryptionSetting
- a consumer that will call methods onEncryptionSetting.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateBotRecommendationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateBotRecommendationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-