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
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- 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
-
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
-
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
-
description
The description of the version.- Parameters:
description
- The description of the version. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnBotVersion>
- Returns:
- a newly built instance of
CfnBotVersion
.
-