Class CfnBotPropsMixin.TestBotAliasSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotPropsMixin.TestBotAliasSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotPropsMixin.TestBotAliasSettingsProperty>
- Enclosing interface:
CfnBotPropsMixin.TestBotAliasSettingsProperty
@Stability(Stable)
public static final class CfnBotPropsMixin.TestBotAliasSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotPropsMixin.TestBotAliasSettingsProperty>
A builder for
CfnBotPropsMixin.TestBotAliasSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbotAliasLocaleSettings(List<? extends Object> botAliasLocaleSettings) botAliasLocaleSettings(IResolvable botAliasLocaleSettings) build()Builds the configured instance.conversationLogSettings(CfnBotPropsMixin.ConversationLogSettingsProperty conversationLogSettings) conversationLogSettings(IResolvable conversationLogSettings) description(String description) Sets the value ofCfnBotPropsMixin.TestBotAliasSettingsProperty.getDescription()sentimentAnalysisSettings(Object sentimentAnalysisSettings)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botAliasLocaleSettings
@Stability(Stable) public CfnBotPropsMixin.TestBotAliasSettingsProperty.Builder botAliasLocaleSettings(IResolvable botAliasLocaleSettings) - 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 CfnBotPropsMixin.TestBotAliasSettingsProperty.Builder botAliasLocaleSettings(List<? extends Object> botAliasLocaleSettings) - 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 CfnBotPropsMixin.TestBotAliasSettingsProperty.Builder conversationLogSettings(IResolvable conversationLogSettings) - 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 CfnBotPropsMixin.TestBotAliasSettingsProperty.Builder conversationLogSettings(CfnBotPropsMixin.ConversationLogSettingsProperty conversationLogSettings) - 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 CfnBotPropsMixin.TestBotAliasSettingsProperty.Builder description(String description) Sets the value ofCfnBotPropsMixin.TestBotAliasSettingsProperty.getDescription()- Parameters:
description- Specifies a description for the test bot alias.- Returns:
this
-
sentimentAnalysisSettings
@Stability(Stable) public CfnBotPropsMixin.TestBotAliasSettingsProperty.Builder sentimentAnalysisSettings(Object sentimentAnalysisSettings) - 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:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotPropsMixin.TestBotAliasSettingsProperty>- Returns:
- a new instance of
CfnBotPropsMixin.TestBotAliasSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-