Class CfnBotAliasMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.lex.mixins.CfnBotAliasMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAliasMixinProps>
- Enclosing interface:
CfnBotAliasMixinProps
@Stability(Stable)
public static final class CfnBotAliasMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAliasMixinProps>
A builder for
CfnBotAliasMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbotAliasLocaleSettings(List<? extends Object> botAliasLocaleSettings) Sets the value ofCfnBotAliasMixinProps.getBotAliasLocaleSettings()botAliasLocaleSettings(IResolvable botAliasLocaleSettings) Sets the value ofCfnBotAliasMixinProps.getBotAliasLocaleSettings()botAliasName(String botAliasName) Sets the value ofCfnBotAliasMixinProps.getBotAliasName()botAliasTags(List<? extends Object> botAliasTags) Sets the value ofCfnBotAliasMixinProps.getBotAliasTags()botAliasTags(IResolvable botAliasTags) Sets the value ofCfnBotAliasMixinProps.getBotAliasTags()Sets the value ofCfnBotAliasMixinProps.getBotId()botVersion(String botVersion) Sets the value ofCfnBotAliasMixinProps.getBotVersion()build()Builds the configured instance.conversationLogSettings(IResolvable conversationLogSettings) Sets the value ofCfnBotAliasMixinProps.getConversationLogSettings()conversationLogSettings(CfnBotAliasPropsMixin.ConversationLogSettingsProperty conversationLogSettings) Sets the value ofCfnBotAliasMixinProps.getConversationLogSettings()description(String description) Sets the value ofCfnBotAliasMixinProps.getDescription()sentimentAnalysisSettings(Object sentimentAnalysisSettings) Sets the value ofCfnBotAliasMixinProps.getSentimentAnalysisSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botAliasLocaleSettings
@Stability(Stable) public CfnBotAliasMixinProps.Builder botAliasLocaleSettings(IResolvable botAliasLocaleSettings) Sets the value ofCfnBotAliasMixinProps.getBotAliasLocaleSettings()- Parameters:
botAliasLocaleSettings- Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.- Returns:
this
-
botAliasLocaleSettings
@Stability(Stable) public CfnBotAliasMixinProps.Builder botAliasLocaleSettings(List<? extends Object> botAliasLocaleSettings) Sets the value ofCfnBotAliasMixinProps.getBotAliasLocaleSettings()- Parameters:
botAliasLocaleSettings- Specifies settings that are unique to a locale. For example, you can use different Lambda function depending on the bot's locale.- Returns:
this
-
botAliasName
Sets the value ofCfnBotAliasMixinProps.getBotAliasName()- Parameters:
botAliasName- The name of the bot alias.- Returns:
this
-
botAliasTags
Sets the value ofCfnBotAliasMixinProps.getBotAliasTags()- Parameters:
botAliasTags- An array of key-value pairs to apply to this resource. You can only add tags when you specify an alias.For more information, see Tag .
- Returns:
this
-
botAliasTags
@Stability(Stable) public CfnBotAliasMixinProps.Builder botAliasTags(List<? extends Object> botAliasTags) Sets the value ofCfnBotAliasMixinProps.getBotAliasTags()- Parameters:
botAliasTags- An array of key-value pairs to apply to this resource. You can only add tags when you specify an alias.For more information, see Tag .
- Returns:
this
-
botId
Sets the value ofCfnBotAliasMixinProps.getBotId()- Parameters:
botId- The unique identifier of the bot.- Returns:
this
-
botVersion
Sets the value ofCfnBotAliasMixinProps.getBotVersion()- Parameters:
botVersion- The version of the bot that the bot alias references.- Returns:
this
-
conversationLogSettings
@Stability(Stable) public CfnBotAliasMixinProps.Builder conversationLogSettings(IResolvable conversationLogSettings) Sets the value ofCfnBotAliasMixinProps.getConversationLogSettings()- Parameters:
conversationLogSettings- Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .- Returns:
this
-
conversationLogSettings
@Stability(Stable) public CfnBotAliasMixinProps.Builder conversationLogSettings(CfnBotAliasPropsMixin.ConversationLogSettingsProperty conversationLogSettings) Sets the value ofCfnBotAliasMixinProps.getConversationLogSettings()- Parameters:
conversationLogSettings- Specifies whether Amazon Lex logs text and audio for conversations with the bot. When you enable conversation logs, text logs store text input, transcripts of audio input, and associated metadata in Amazon CloudWatch logs. Audio logs store input in Amazon S3 .- Returns:
this
-
description
Sets the value ofCfnBotAliasMixinProps.getDescription()- Parameters:
description- The description of the bot alias.- Returns:
this
-
sentimentAnalysisSettings
@Stability(Stable) public CfnBotAliasMixinProps.Builder sentimentAnalysisSettings(Object sentimentAnalysisSettings) Sets the value ofCfnBotAliasMixinProps.getSentimentAnalysisSettings()- Parameters:
sentimentAnalysisSettings- Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotAliasMixinProps>- Returns:
- a new instance of
CfnBotAliasMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-