public static final class CfnBot.BotAliasLocaleSettingsProperty.Builder
extends java.lang.Object
CfnBot.BotAliasLocaleSettingsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBot.BotAliasLocaleSettingsProperty |
build()
Builds the configured instance.
|
CfnBot.BotAliasLocaleSettingsProperty.Builder |
codeHookSpecification(CfnBot.CodeHookSpecificationProperty codeHookSpecification)
Sets the value of
CfnBot.BotAliasLocaleSettingsProperty.getCodeHookSpecification() |
CfnBot.BotAliasLocaleSettingsProperty.Builder |
codeHookSpecification(IResolvable codeHookSpecification)
Sets the value of
CfnBot.BotAliasLocaleSettingsProperty.getCodeHookSpecification() |
CfnBot.BotAliasLocaleSettingsProperty.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnBot.BotAliasLocaleSettingsProperty.getEnabled() |
CfnBot.BotAliasLocaleSettingsProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnBot.BotAliasLocaleSettingsProperty.getEnabled() |
public CfnBot.BotAliasLocaleSettingsProperty.Builder enabled(java.lang.Boolean enabled)
CfnBot.BotAliasLocaleSettingsProperty.getEnabled()
enabled
- Specifies whether the locale is enabled for the bot. This parameter is required.
If the value is false, the locale isn't available for use.this
public CfnBot.BotAliasLocaleSettingsProperty.Builder enabled(IResolvable enabled)
CfnBot.BotAliasLocaleSettingsProperty.getEnabled()
enabled
- Specifies whether the locale is enabled for the bot. This parameter is required.
If the value is false, the locale isn't available for use.this
public CfnBot.BotAliasLocaleSettingsProperty.Builder codeHookSpecification(IResolvable codeHookSpecification)
CfnBot.BotAliasLocaleSettingsProperty.getCodeHookSpecification()
codeHookSpecification
- Specifies the Lambda function to use in this locale.this
public CfnBot.BotAliasLocaleSettingsProperty.Builder codeHookSpecification(CfnBot.CodeHookSpecificationProperty codeHookSpecification)
CfnBot.BotAliasLocaleSettingsProperty.getCodeHookSpecification()
codeHookSpecification
- Specifies the Lambda function to use in this locale.this
public CfnBot.BotAliasLocaleSettingsProperty build()
CfnBot.BotAliasLocaleSettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided