Class CfnBot.BotAliasLocaleSettingsItemProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBot.BotAliasLocaleSettingsItemProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBot.BotAliasLocaleSettingsItemProperty>
- Enclosing interface:
- CfnBot.BotAliasLocaleSettingsItemProperty
@Stability(Stable)
public static final class CfnBot.BotAliasLocaleSettingsItemProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBot.BotAliasLocaleSettingsItemProperty>
A builder for
CfnBot.BotAliasLocaleSettingsItemProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbotAliasLocaleSetting(IResolvable botAliasLocaleSetting) Sets the value ofCfnBot.BotAliasLocaleSettingsItemProperty.getBotAliasLocaleSetting()botAliasLocaleSetting(CfnBot.BotAliasLocaleSettingsProperty botAliasLocaleSetting) Sets the value ofCfnBot.BotAliasLocaleSettingsItemProperty.getBotAliasLocaleSetting()build()Builds the configured instance.Sets the value ofCfnBot.BotAliasLocaleSettingsItemProperty.getLocaleId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botAliasLocaleSetting
@Stability(Stable) public CfnBot.BotAliasLocaleSettingsItemProperty.Builder botAliasLocaleSetting(IResolvable botAliasLocaleSetting) Sets the value ofCfnBot.BotAliasLocaleSettingsItemProperty.getBotAliasLocaleSetting()- Parameters:
botAliasLocaleSetting- Specifies locale settings for a locale. This parameter is required.- Returns:
this
-
botAliasLocaleSetting
@Stability(Stable) public CfnBot.BotAliasLocaleSettingsItemProperty.Builder botAliasLocaleSetting(CfnBot.BotAliasLocaleSettingsProperty botAliasLocaleSetting) Sets the value ofCfnBot.BotAliasLocaleSettingsItemProperty.getBotAliasLocaleSetting()- Parameters:
botAliasLocaleSetting- Specifies locale settings for a locale. This parameter is required.- Returns:
this
-
localeId
@Stability(Stable) public CfnBot.BotAliasLocaleSettingsItemProperty.Builder localeId(String localeId) Sets the value ofCfnBot.BotAliasLocaleSettingsItemProperty.getLocaleId()- Parameters:
localeId- Specifies the locale that the settings apply to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBot.BotAliasLocaleSettingsItemProperty>- Returns:
- a new instance of
CfnBot.BotAliasLocaleSettingsItemProperty - Throws:
NullPointerException- if any required attribute was not provided
-