Class CfnBotVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.lex.CfnBotVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotVersionMixinProps>
- Enclosing interface:
CfnBotVersionMixinProps
@Stability(Stable)
public static final class CfnBotVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotVersionMixinProps>
A builder for
CfnBotVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBotVersionMixinProps.getBotId()Sets the value ofCfnBotVersionMixinProps.getBotId()botVersionLocaleSpecification(List<? extends Object> botVersionLocaleSpecification) Sets the value ofCfnBotVersionMixinProps.getBotVersionLocaleSpecification()botVersionLocaleSpecification(IResolvable botVersionLocaleSpecification) Sets the value ofCfnBotVersionMixinProps.getBotVersionLocaleSpecification()build()Builds the configured instance.description(String description) Sets the value ofCfnBotVersionMixinProps.getDescription()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
botId
Sets the value ofCfnBotVersionMixinProps.getBotId()- Parameters:
botId- The unique identifier of the bot.- Returns:
this
-
botId
Sets the value ofCfnBotVersionMixinProps.getBotId()- Parameters:
botId- The unique identifier of the bot.- Returns:
this
-
botVersionLocaleSpecification
@Stability(Stable) public CfnBotVersionMixinProps.Builder botVersionLocaleSpecification(IResolvable botVersionLocaleSpecification) Sets the value ofCfnBotVersionMixinProps.getBotVersionLocaleSpecification()- Parameters:
botVersionLocaleSpecification- Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.- Returns:
this
-
botVersionLocaleSpecification
@Stability(Stable) public CfnBotVersionMixinProps.Builder botVersionLocaleSpecification(List<? extends Object> botVersionLocaleSpecification) Sets the value ofCfnBotVersionMixinProps.getBotVersionLocaleSpecification()- Parameters:
botVersionLocaleSpecification- Specifies the locales that Amazon Lex adds to this version. You can choose the Draft version or any other previously published version for each locale. When you specify a source version, the locale data is copied from the source version to the new version.- Returns:
this
-
description
Sets the value ofCfnBotVersionMixinProps.getDescription()- Parameters:
description- The description of the version.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBotVersionMixinProps>- Returns:
- a new instance of
CfnBotVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-