Class CfnBot.BotAliasLocaleSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.BotAliasLocaleSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.BotAliasLocaleSettingsProperty>
- Enclosing interface:
CfnBot.BotAliasLocaleSettingsProperty
@Stability(Stable)
public static final class CfnBot.BotAliasLocaleSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.BotAliasLocaleSettingsProperty>
A builder for
CfnBot.BotAliasLocaleSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.codeHookSpecification
(IResolvable codeHookSpecification) Sets the value ofCfnBot.BotAliasLocaleSettingsProperty.getCodeHookSpecification()
codeHookSpecification
(CfnBot.CodeHookSpecificationProperty codeHookSpecification) Sets the value ofCfnBot.BotAliasLocaleSettingsProperty.getCodeHookSpecification()
Sets the value ofCfnBot.BotAliasLocaleSettingsProperty.getEnabled()
enabled
(IResolvable enabled) Sets the value ofCfnBot.BotAliasLocaleSettingsProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnBot.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 CfnBot.BotAliasLocaleSettingsProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnBot.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 CfnBot.BotAliasLocaleSettingsProperty.Builder codeHookSpecification(IResolvable codeHookSpecification) Sets the value ofCfnBot.BotAliasLocaleSettingsProperty.getCodeHookSpecification()
- Parameters:
codeHookSpecification
- Specifies the Lambda function that should be used in the locale.- Returns:
this
-
codeHookSpecification
@Stability(Stable) public CfnBot.BotAliasLocaleSettingsProperty.Builder codeHookSpecification(CfnBot.CodeHookSpecificationProperty codeHookSpecification) Sets the value ofCfnBot.BotAliasLocaleSettingsProperty.getCodeHookSpecification()
- Parameters:
codeHookSpecification
- Specifies the Lambda function that should be used in the locale.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBot.BotAliasLocaleSettingsProperty>
- Returns:
- a new instance of
CfnBot.BotAliasLocaleSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-