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