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