@Stability(value=Stable) public static final class CfnBotAlias.Builder extends Object implements software.amazon.jsii.Builder<CfnBotAlias>
CfnBotAlias.| Modifier and Type | Method and Description |
|---|---|
CfnBotAlias.Builder |
botAliasLocaleSettings(IResolvable botAliasLocaleSettings)
Maps configuration information to a specific locale.
|
CfnBotAlias.Builder |
botAliasLocaleSettings(List<? extends Object> botAliasLocaleSettings)
Maps configuration information to a specific locale.
|
CfnBotAlias.Builder |
botAliasName(String botAliasName)
The name of the bot alias.
|
CfnBotAlias.Builder |
botAliasTags(IResolvable botAliasTags)
An array of key-value pairs to apply to this resource.
|
CfnBotAlias.Builder |
botAliasTags(List<? extends Object> botAliasTags)
An array of key-value pairs to apply to this resource.
|
CfnBotAlias.Builder |
botId(String botId)
The unique identifier of the bot.
|
CfnBotAlias.Builder |
botVersion(String botVersion)
The version of the bot that the bot alias references.
|
CfnBotAlias |
build() |
CfnBotAlias.Builder |
conversationLogSettings(CfnBotAlias.ConversationLogSettingsProperty conversationLogSettings)
Specifies whether Amazon Lex logs text and audio for conversations with the bot.
|
CfnBotAlias.Builder |
conversationLogSettings(IResolvable conversationLogSettings)
Specifies whether Amazon Lex logs text and audio for conversations with the bot.
|
static CfnBotAlias.Builder |
create(software.constructs.Construct scope,
String id) |
CfnBotAlias.Builder |
description(String description)
The description of the bot alias.
|
CfnBotAlias.Builder |
sentimentAnalysisSettings(Object sentimentAnalysisSettings)
Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances.
|
@Stability(value=Stable) public static CfnBotAlias.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnBotAlias.AudioLogDestinationProperty.Builder.@Stability(value=Stable) public CfnBotAlias.Builder botAliasName(String botAliasName)
botAliasName - The name of the bot alias. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder botId(String botId)
botId - The unique identifier of the bot. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder botAliasLocaleSettings(IResolvable botAliasLocaleSettings)
You can use this parameter to specify a specific Lambda function to run different functions in different locales.
botAliasLocaleSettings - Maps configuration information to a specific locale. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder botAliasLocaleSettings(List<? extends Object> botAliasLocaleSettings)
You can use this parameter to specify a specific Lambda function to run different functions in different locales.
botAliasLocaleSettings - Maps configuration information to a specific locale. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder botAliasTags(IResolvable botAliasTags)
You can only add tags when you specify an alias.
For more information, see Tag .
botAliasTags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder botAliasTags(List<? extends Object> botAliasTags)
You can only add tags when you specify an alias.
For more information, see Tag .
botAliasTags - An array of key-value pairs to apply to this resource. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder botVersion(String botVersion)
botVersion - The version of the bot that the bot alias references. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder conversationLogSettings(CfnBotAlias.ConversationLogSettingsProperty conversationLogSettings)
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 .
conversationLogSettings - Specifies whether Amazon Lex logs text and audio for conversations with the bot. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder conversationLogSettings(IResolvable conversationLogSettings)
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 .
conversationLogSettings - Specifies whether Amazon Lex logs text and audio for conversations with the bot. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder description(String description)
description - The description of the bot alias. This parameter is required.this@Stability(value=Stable) public CfnBotAlias.Builder sentimentAnalysisSettings(Object sentimentAnalysisSettings)
sentimentAnalysisSettings - Determines whether Amazon Lex will use Amazon Comprehend to detect the sentiment of user utterances. This parameter is required.this@Stability(value=Stable) public CfnBotAlias build()
build in interface software.amazon.jsii.Builder<CfnBotAlias>Copyright © 2022. All rights reserved.