Class CfnBot.TestBotAliasSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.TestBotAliasSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.TestBotAliasSettingsProperty>
- Enclosing interface:
CfnBot.TestBotAliasSettingsProperty
@Stability(Stable)
public static final class CfnBot.TestBotAliasSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.TestBotAliasSettingsProperty>
A builder for
CfnBot.TestBotAliasSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbotAliasLocaleSettings
(List<? extends Object> botAliasLocaleSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getBotAliasLocaleSettings()
botAliasLocaleSettings
(IResolvable botAliasLocaleSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getBotAliasLocaleSettings()
build()
Builds the configured instance.conversationLogSettings
(IResolvable conversationLogSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getConversationLogSettings()
conversationLogSettings
(CfnBot.ConversationLogSettingsProperty conversationLogSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getConversationLogSettings()
description
(String description) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getDescription()
sentimentAnalysisSettings
(Object sentimentAnalysisSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getSentimentAnalysisSettings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botAliasLocaleSettings
@Stability(Stable) public CfnBot.TestBotAliasSettingsProperty.Builder botAliasLocaleSettings(IResolvable botAliasLocaleSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getBotAliasLocaleSettings()
- Parameters:
botAliasLocaleSettings
- Specifies settings that are unique to a locale. For example, you can use a different Lambda function depending on the bot's locale.- Returns:
this
-
botAliasLocaleSettings
@Stability(Stable) public CfnBot.TestBotAliasSettingsProperty.Builder botAliasLocaleSettings(List<? extends Object> botAliasLocaleSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getBotAliasLocaleSettings()
- Parameters:
botAliasLocaleSettings
- Specifies settings that are unique to a locale. For example, you can use a different Lambda function depending on the bot's locale.- Returns:
this
-
conversationLogSettings
@Stability(Stable) public CfnBot.TestBotAliasSettingsProperty.Builder conversationLogSettings(IResolvable conversationLogSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getConversationLogSettings()
- Parameters:
conversationLogSettings
- Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users.- Returns:
this
-
conversationLogSettings
@Stability(Stable) public CfnBot.TestBotAliasSettingsProperty.Builder conversationLogSettings(CfnBot.ConversationLogSettingsProperty conversationLogSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getConversationLogSettings()
- Parameters:
conversationLogSettings
- Specifies settings for conversation logs that save audio, text, and metadata information for conversations with your users.- Returns:
this
-
description
@Stability(Stable) public CfnBot.TestBotAliasSettingsProperty.Builder description(String description) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getDescription()
- Parameters:
description
- Specifies a description for the test bot alias.- Returns:
this
-
sentimentAnalysisSettings
@Stability(Stable) public CfnBot.TestBotAliasSettingsProperty.Builder sentimentAnalysisSettings(Object sentimentAnalysisSettings) Sets the value ofCfnBot.TestBotAliasSettingsProperty.getSentimentAnalysisSettings()
- Parameters:
sentimentAnalysisSettings
- Specifies whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.TestBotAliasSettingsProperty>
- Returns:
- a new instance of
CfnBot.TestBotAliasSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-