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