Class CfnBotVersion.BotVersionLocaleSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBotVersion.BotVersionLocaleSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotVersion.BotVersionLocaleSpecificationProperty>
- Enclosing interface:
- CfnBotVersion.BotVersionLocaleSpecificationProperty
@Stability(Stable)
public static final class CfnBotVersion.BotVersionLocaleSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotVersion.BotVersionLocaleSpecificationProperty>
A builder for
CfnBotVersion.BotVersionLocaleSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbotVersionLocaleDetails(IResolvable botVersionLocaleDetails) botVersionLocaleDetails(CfnBotVersion.BotVersionLocaleDetailsProperty botVersionLocaleDetails) build()Builds the configured instance.Sets the value ofCfnBotVersion.BotVersionLocaleSpecificationProperty.getLocaleId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botVersionLocaleDetails
@Stability(Stable) public CfnBotVersion.BotVersionLocaleSpecificationProperty.Builder botVersionLocaleDetails(IResolvable botVersionLocaleDetails) - Parameters:
botVersionLocaleDetails- The version of a bot used for a bot locale. This parameter is required.- Returns:
this
-
botVersionLocaleDetails
@Stability(Stable) public CfnBotVersion.BotVersionLocaleSpecificationProperty.Builder botVersionLocaleDetails(CfnBotVersion.BotVersionLocaleDetailsProperty botVersionLocaleDetails) - Parameters:
botVersionLocaleDetails- The version of a bot used for a bot locale. This parameter is required.- Returns:
this
-
localeId
@Stability(Stable) public CfnBotVersion.BotVersionLocaleSpecificationProperty.Builder localeId(String localeId) Sets the value ofCfnBotVersion.BotVersionLocaleSpecificationProperty.getLocaleId()- Parameters:
localeId- The identifier of the locale to add to the version. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotVersion.BotVersionLocaleSpecificationProperty>- Returns:
- a new instance of
CfnBotVersion.BotVersionLocaleSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-