Interface CreateBotAliasResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<CreateBotAliasResponse.Builder,
,CreateBotAliasResponse> LexModelsV2Response.Builder
,SdkBuilder<CreateBotAliasResponse.Builder,
,CreateBotAliasResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateBotAliasResponse
-
Method Summary
Modifier and TypeMethodDescriptionbotAliasId
(String botAliasId) The unique identifier of the bot alias.botAliasLocaleSettings
(Map<String, BotAliasLocaleSettings> botAliasLocaleSettings) Configuration information for a specific locale.botAliasName
(String botAliasName) The name specified for the bot alias.botAliasStatus
(String botAliasStatus) The current status of the alias.botAliasStatus
(BotAliasStatus botAliasStatus) The current status of the alias.The unique identifier of the bot that this alias applies to.botVersion
(String botVersion) The version of the bot associated with this alias.default CreateBotAliasResponse.Builder
conversationLogSettings
(Consumer<ConversationLogSettings.Builder> conversationLogSettings) The conversation log settings specified for the alias.conversationLogSettings
(ConversationLogSettings conversationLogSettings) The conversation log settings specified for the alias.creationDateTime
(Instant creationDateTime) A Unix timestamp indicating the date and time that the bot alias was created.description
(String description) The description specified for the bot alias.default CreateBotAliasResponse.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.A list of tags associated with the bot alias.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelsv2.model.LexModelsV2Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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 name specified for the bot alias.
- Parameters:
botAliasName
- The name specified for the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description specified for the bot alias.
- Parameters:
description
- The description specified for the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botVersion
The version of the bot associated with this alias.
- Parameters:
botVersion
- The version of the bot associated with this alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botAliasLocaleSettings
CreateBotAliasResponse.Builder botAliasLocaleSettings(Map<String, BotAliasLocaleSettings> botAliasLocaleSettings) Configuration information for a specific locale.
- Parameters:
botAliasLocaleSettings
- Configuration information for a specific locale.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationLogSettings
CreateBotAliasResponse.Builder conversationLogSettings(ConversationLogSettings conversationLogSettings) The conversation log settings specified for the alias.
- Parameters:
conversationLogSettings
- The conversation log settings specified for the alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
conversationLogSettings
default CreateBotAliasResponse.Builder conversationLogSettings(Consumer<ConversationLogSettings.Builder> conversationLogSettings) The conversation log settings specified for the alias.
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
CreateBotAliasResponse.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 CreateBotAliasResponse.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:
-
botAliasStatus
The current status of the alias. The alias is first put into the
Creating
state. When the alias is ready to be used, it is put into theAvailable
state. You can use theDescribeBotAlias
operation to get the current state of an alias.- Parameters:
botAliasStatus
- The current status of the alias. The alias is first put into theCreating
state. When the alias is ready to be used, it is put into theAvailable
state. You can use theDescribeBotAlias
operation to get the current state of an alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botAliasStatus
The current status of the alias. The alias is first put into the
Creating
state. When the alias is ready to be used, it is put into theAvailable
state. You can use theDescribeBotAlias
operation to get the current state of an alias.- Parameters:
botAliasStatus
- The current status of the alias. The alias is first put into theCreating
state. When the alias is ready to be used, it is put into theAvailable
state. You can use theDescribeBotAlias
operation to get the current state of an alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botId
The unique identifier of the bot that this alias applies to.
- Parameters:
botId
- The unique identifier of the bot that this alias applies to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationDateTime
A Unix timestamp indicating the date and time that the bot alias was created.
- Parameters:
creationDateTime
- A Unix timestamp indicating the date and time that the bot alias was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags associated with the bot alias.
- Parameters:
tags
- A list of tags associated with the bot alias.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-