Class CfnBotAlias.BotAliasLocaleSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBotAlias.BotAliasLocaleSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotAlias.BotAliasLocaleSettingsProperty>
- Enclosing interface:
- CfnBotAlias.BotAliasLocaleSettingsProperty
@Stability(Stable)
public static final class CfnBotAlias.BotAliasLocaleSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotAlias.BotAliasLocaleSettingsProperty>
A builder for
CfnBotAlias.BotAliasLocaleSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.codeHookSpecification(IResolvable codeHookSpecification) Sets the value ofCfnBotAlias.BotAliasLocaleSettingsProperty.getCodeHookSpecification()codeHookSpecification(CfnBotAlias.CodeHookSpecificationProperty codeHookSpecification) Sets the value ofCfnBotAlias.BotAliasLocaleSettingsProperty.getCodeHookSpecification()Sets the value ofCfnBotAlias.BotAliasLocaleSettingsProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnBotAlias.BotAliasLocaleSettingsProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnBotAlias.BotAliasLocaleSettingsProperty.Builder enabled(Boolean enabled) Sets the value ofCfnBotAlias.BotAliasLocaleSettingsProperty.getEnabled()- Parameters:
enabled- Determines whether the locale is enabled for the bot. This parameter is required. If the value isfalse, the locale isn't available for use.- Returns:
this
-
enabled
@Stability(Stable) public CfnBotAlias.BotAliasLocaleSettingsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnBotAlias.BotAliasLocaleSettingsProperty.getEnabled()- Parameters:
enabled- Determines whether the locale is enabled for the bot. This parameter is required. If the value isfalse, the locale isn't available for use.- Returns:
this
-
codeHookSpecification
@Stability(Stable) public CfnBotAlias.BotAliasLocaleSettingsProperty.Builder codeHookSpecification(IResolvable codeHookSpecification) Sets the value ofCfnBotAlias.BotAliasLocaleSettingsProperty.getCodeHookSpecification()- Parameters:
codeHookSpecification- Specifies the Lambda function that should be used in the locale.- Returns:
this
-
codeHookSpecification
@Stability(Stable) public CfnBotAlias.BotAliasLocaleSettingsProperty.Builder codeHookSpecification(CfnBotAlias.CodeHookSpecificationProperty codeHookSpecification) Sets the value ofCfnBotAlias.BotAliasLocaleSettingsProperty.getCodeHookSpecification()- Parameters:
codeHookSpecification- Specifies the Lambda function that should be used in the locale.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotAlias.BotAliasLocaleSettingsProperty>- Returns:
- a new instance of
CfnBotAlias.BotAliasLocaleSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-