public static final class CfnBotAlias.BotAliasLocaleSettingsProperty.Builder
extends java.lang.Object
CfnBotAlias.BotAliasLocaleSettingsProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBotAlias.BotAliasLocaleSettingsProperty |
build()
Builds the configured instance.
|
CfnBotAlias.BotAliasLocaleSettingsProperty.Builder |
codeHookSpecification(CfnBotAlias.CodeHookSpecificationProperty codeHookSpecification)
Sets the value of
CfnBotAlias.BotAliasLocaleSettingsProperty.getCodeHookSpecification() |
CfnBotAlias.BotAliasLocaleSettingsProperty.Builder |
codeHookSpecification(IResolvable codeHookSpecification)
Sets the value of
CfnBotAlias.BotAliasLocaleSettingsProperty.getCodeHookSpecification() |
CfnBotAlias.BotAliasLocaleSettingsProperty.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnBotAlias.BotAliasLocaleSettingsProperty.getEnabled() |
CfnBotAlias.BotAliasLocaleSettingsProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnBotAlias.BotAliasLocaleSettingsProperty.getEnabled() |
public CfnBotAlias.BotAliasLocaleSettingsProperty.Builder enabled(java.lang.Boolean enabled)
CfnBotAlias.BotAliasLocaleSettingsProperty.getEnabled()
enabled
- Determines 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 CfnBotAlias.BotAliasLocaleSettingsProperty.Builder enabled(IResolvable enabled)
CfnBotAlias.BotAliasLocaleSettingsProperty.getEnabled()
enabled
- Determines 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 CfnBotAlias.BotAliasLocaleSettingsProperty.Builder codeHookSpecification(IResolvable codeHookSpecification)
CfnBotAlias.BotAliasLocaleSettingsProperty.getCodeHookSpecification()
codeHookSpecification
- Specifies the Lambda function that should be used in the locale.this
public CfnBotAlias.BotAliasLocaleSettingsProperty.Builder codeHookSpecification(CfnBotAlias.CodeHookSpecificationProperty codeHookSpecification)
CfnBotAlias.BotAliasLocaleSettingsProperty.getCodeHookSpecification()
codeHookSpecification
- Specifies the Lambda function that should be used in the locale.this
public CfnBotAlias.BotAliasLocaleSettingsProperty build()
CfnBotAlias.BotAliasLocaleSettingsProperty
java.lang.NullPointerException
- if any required attribute was not provided