Interface UpdateBotAliasRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateBotAliasRequest.Builder,
,UpdateBotAliasRequest> LexModelsV2Request.Builder
,SdkBuilder<UpdateBotAliasRequest.Builder,
,UpdateBotAliasRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateBotAliasRequest
-
Method Summary
Modifier and TypeMethodDescriptionbotAliasId
(String botAliasId) The unique identifier of the bot alias.botAliasLocaleSettings
(Map<String, BotAliasLocaleSettings> botAliasLocaleSettings) The new Lambda functions to use in each locale for the bot alias.botAliasName
(String botAliasName) The new name to assign to the bot alias.The identifier of the bot with the updated alias.botVersion
(String botVersion) The new bot version to assign to the bot alias.default UpdateBotAliasRequest.Builder
conversationLogSettings
(Consumer<ConversationLogSettings.Builder> conversationLogSettings) The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.conversationLogSettings
(ConversationLogSettings conversationLogSettings) The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.description
(String description) The new description to assign to the bot alias.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateBotAliasRequest.Builder
sentimentAnalysisSettings
(Consumer<SentimentAnalysisSettings.Builder> sentimentAnalysisSettings) Sets the value of the SentimentAnalysisSettings property for this object.sentimentAnalysisSettings
(SentimentAnalysisSettings sentimentAnalysisSettings) Sets the value of the SentimentAnalysisSettings property for this object.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
-
botAliasId
The unique identifier of the bot alias.
- Parameters:
botAliasId
- The unique identifier of the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasName
The new name to assign to the bot alias.
- Parameters:
botAliasName
- The new name to assign to the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The new description to assign to the bot alias.
- Parameters:
description
- The new description to assign to the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The new bot version to assign to the bot alias.
- Parameters:
botVersion
- The new bot version to assign to the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasLocaleSettings
UpdateBotAliasRequest.Builder botAliasLocaleSettings(Map<String, BotAliasLocaleSettings> botAliasLocaleSettings) The new Lambda functions to use in each locale for the bot alias.
- Parameters:
botAliasLocaleSettings
- The new Lambda functions to use in each locale for the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationLogSettings
UpdateBotAliasRequest.Builder conversationLogSettings(ConversationLogSettings conversationLogSettings) The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
- Parameters:
conversationLogSettings
- The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationLogSettings
default UpdateBotAliasRequest.Builder conversationLogSettings(Consumer<ConversationLogSettings.Builder> conversationLogSettings) The new settings for storing conversation logs in Amazon CloudWatch Logs and Amazon S3 buckets.
This is a convenience method that creates an instance of theConversationLogSettings.Builder
avoiding the need to create one manually viaConversationLogSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconversationLogSettings(ConversationLogSettings)
.- Parameters:
conversationLogSettings
- a consumer that will call methods onConversationLogSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sentimentAnalysisSettings
UpdateBotAliasRequest.Builder sentimentAnalysisSettings(SentimentAnalysisSettings sentimentAnalysisSettings) Sets the value of the SentimentAnalysisSettings property for this object.- Parameters:
sentimentAnalysisSettings
- The new value for the SentimentAnalysisSettings property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sentimentAnalysisSettings
default UpdateBotAliasRequest.Builder sentimentAnalysisSettings(Consumer<SentimentAnalysisSettings.Builder> sentimentAnalysisSettings) Sets the value of the SentimentAnalysisSettings property for this object. This is a convenience method that creates an instance of theSentimentAnalysisSettings.Builder
avoiding the need to create one manually viaSentimentAnalysisSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosentimentAnalysisSettings(SentimentAnalysisSettings)
.- Parameters:
sentimentAnalysisSettings
- a consumer that will call methods onSentimentAnalysisSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botId
The identifier of the bot with the updated alias.
- Parameters:
botId
- The identifier of the bot with the updated alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateBotAliasRequest.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
UpdateBotAliasRequest.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.
-