Class CfnBotVersion.Builder
java.lang.Object
software.amazon.awscdk.services.lex.CfnBotVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotVersion>
- Enclosing class:
CfnBotVersion
@Stability(Stable)
public static final class CfnBotVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBotVersion>
A fluent builder for
CfnBotVersion
.-
Method Summary
Modifier and TypeMethodDescriptionThe unique identifier of the bot.botVersionLocaleSpecification
(List<? extends Object> botVersionLocaleSpecification) Specifies the locales that Amazon Lex adds to this version.botVersionLocaleSpecification
(IResolvable botVersionLocaleSpecification) Specifies the locales that Amazon Lex adds to this version.build()
static CfnBotVersion.Builder
description
(String description) The description of the version.
-
Method Details
-
create
@Stability(Stable) public static CfnBotVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnBotVersion.Builder
.
-
botId
The unique identifier of the bot.- Parameters:
botId
- The unique identifier of the bot. This parameter is required.- Returns:
this
- See Also:
-
botVersionLocaleSpecification
@Stability(Stable) public CfnBotVersion.Builder botVersionLocaleSpecification(IResolvable 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.
- Parameters:
botVersionLocaleSpecification
- Specifies the locales that Amazon Lex adds to this version. This parameter is required.- Returns:
this
- See Also:
-
botVersionLocaleSpecification
@Stability(Stable) public CfnBotVersion.Builder botVersionLocaleSpecification(List<? extends Object> 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.
- Parameters:
botVersionLocaleSpecification
- Specifies the locales that Amazon Lex adds to this version. This parameter is required.- Returns:
this
- See Also:
-
description
The description of the version.- Parameters:
description
- The description of the version. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBotVersion>
- Returns:
- a newly built instance of
CfnBotVersion
.
-