Class CfnAppInstanceBotPropsMixin.LexConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.chime.CfnAppInstanceBotPropsMixin.LexConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppInstanceBotPropsMixin.LexConfigurationProperty>
- Enclosing interface:
CfnAppInstanceBotPropsMixin.LexConfigurationProperty
@Stability(Stable)
public static final class CfnAppInstanceBotPropsMixin.LexConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppInstanceBotPropsMixin.LexConfigurationProperty>
A builder for
CfnAppInstanceBotPropsMixin.LexConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getInvokedBy()invokedBy(IResolvable invokedBy) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getInvokedBy()lexBotAliasArn(String lexBotAliasArn) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getLexBotAliasArn()Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getLocaleId()respondsTo(String respondsTo) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getRespondsTo()welcomeIntent(String welcomeIntent) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getWelcomeIntent()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
invokedBy
@Stability(Stable) public CfnAppInstanceBotPropsMixin.LexConfigurationProperty.Builder invokedBy(IResolvable invokedBy) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getInvokedBy()- Parameters:
invokedBy- Specifies the type of message that triggers a bot.- Returns:
this
-
invokedBy
@Stability(Stable) public CfnAppInstanceBotPropsMixin.LexConfigurationProperty.Builder invokedBy(CfnAppInstanceBotPropsMixin.InvokedByProperty invokedBy) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getInvokedBy()- Parameters:
invokedBy- Specifies the type of message that triggers a bot.- Returns:
this
-
lexBotAliasArn
@Stability(Stable) public CfnAppInstanceBotPropsMixin.LexConfigurationProperty.Builder lexBotAliasArn(String lexBotAliasArn) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getLexBotAliasArn()- Parameters:
lexBotAliasArn- The ARN of the Amazon Lex V2 bot's alias.- Returns:
this
-
localeId
@Stability(Stable) public CfnAppInstanceBotPropsMixin.LexConfigurationProperty.Builder localeId(String localeId) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getLocaleId()- Parameters:
localeId- Identifies the Amazon Lex V2 bot's language and locale.- Returns:
this
-
respondsTo
@Stability(Stable) public CfnAppInstanceBotPropsMixin.LexConfigurationProperty.Builder respondsTo(String respondsTo) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getRespondsTo()- Parameters:
respondsTo- Determines whether the Amazon Lex V2 bot responds to all standard messages. Control messages are not supported.- Returns:
this
-
welcomeIntent
@Stability(Stable) public CfnAppInstanceBotPropsMixin.LexConfigurationProperty.Builder welcomeIntent(String welcomeIntent) Sets the value ofCfnAppInstanceBotPropsMixin.LexConfigurationProperty.getWelcomeIntent()- Parameters:
welcomeIntent- The name of the welcome intent configured in the Amazon Lex V2 bot.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppInstanceBotPropsMixin.LexConfigurationProperty>- Returns:
- a new instance of
CfnAppInstanceBotPropsMixin.LexConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-