Class CfnBotAliasPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotAliasPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAliasPropsMixin>
- Enclosing class:
CfnBotAliasPropsMixin
@Stability(Stable)
public static final class CfnBotAliasPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAliasPropsMixin>
A fluent builder for
CfnBotAliasPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbotAliasLocaleSettings(List<? extends Object> botAliasLocaleSettings) Specifies settings that are unique to a locale.botAliasLocaleSettings(IResolvable botAliasLocaleSettings) Specifies settings that are unique to a locale.botAliasName(String botAliasName) The name of the bot alias.botAliasTags(List<? extends CfnTag> botAliasTags) An array of key-value pairs to apply to this resource.The unique identifier of the bot.botVersion(String botVersion) The version of the bot that the bot alias references.build()conversationLogSettings(CfnBotAliasPropsMixin.ConversationLogSettingsProperty conversationLogSettings) Specifies whether Amazon Lex logs text and audio for conversations with the bot.conversationLogSettings(IResolvable conversationLogSettings) Specifies whether Amazon Lex logs text and audio for conversations with the bot.create()create(CfnPropertyMixinOptions options) description(String description) The description of the bot alias.sentimentAnalysisSettings(Object sentimentAnalysisSettings) Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
-
Method Details
-
create
@Stability(Stable) public static CfnBotAliasPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnBotAliasPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnBotAliasPropsMixin.Builder.
-
botAliasLocaleSettings
@Stability(Stable) public CfnBotAliasPropsMixin.Builder botAliasLocaleSettings(IResolvable botAliasLocaleSettings) Specifies settings that are unique to a locale.For example, you can use different Lambda function depending on the bot's locale.
- Parameters:
botAliasLocaleSettings- Specifies settings that are unique to a locale. This parameter is required.- Returns:
this- See Also:
-
botAliasLocaleSettings
@Stability(Stable) public CfnBotAliasPropsMixin.Builder botAliasLocaleSettings(List<? extends Object> botAliasLocaleSettings) Specifies settings that are unique to a locale.For example, you can use different Lambda function depending on the bot's locale.
- Parameters:
botAliasLocaleSettings- Specifies settings that are unique to a locale. This parameter is required.- Returns:
this- See Also:
-
botAliasName
The name of the bot alias.- Parameters:
botAliasName- The name of the bot alias. This parameter is required.- Returns:
this- See Also:
-
botAliasTags
@Stability(Stable) public CfnBotAliasPropsMixin.Builder botAliasTags(List<? extends CfnTag> 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 .
- Parameters:
botAliasTags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
botId
The unique identifier of the bot.- Parameters:
botId- The unique identifier of the bot. This parameter is required.- Returns:
this- See Also:
-
botVersion
The version of the bot that the bot alias references.- Parameters:
botVersion- The version of the bot that the bot alias references. This parameter is required.- Returns:
this- See Also:
-
conversationLogSettings
@Stability(Stable) public CfnBotAliasPropsMixin.Builder conversationLogSettings(IResolvable 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 .
- Parameters:
conversationLogSettings- Specifies whether Amazon Lex logs text and audio for conversations with the bot. This parameter is required.- Returns:
this- See Also:
-
conversationLogSettings
@Stability(Stable) public CfnBotAliasPropsMixin.Builder conversationLogSettings(CfnBotAliasPropsMixin.ConversationLogSettingsProperty 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 .
- Parameters:
conversationLogSettings- Specifies whether Amazon Lex logs text and audio for conversations with the bot. This parameter is required.- Returns:
this- See Also:
-
description
The description of the bot alias.- Parameters:
description- The description of the bot alias. This parameter is required.- Returns:
this- See Also:
-
sentimentAnalysisSettings
@Stability(Stable) public CfnBotAliasPropsMixin.Builder sentimentAnalysisSettings(Object sentimentAnalysisSettings) Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.- Parameters:
sentimentAnalysisSettings- Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotAliasPropsMixin>- Returns:
- a newly built instance of
CfnBotAliasPropsMixin.
-