@Stability(value=Stable) public static final class CfnBotVersion.Builder extends Object implements software.amazon.jsii.Builder<CfnBotVersion>
CfnBotVersion.| Modifier and Type | Method and Description |
|---|---|
CfnBotVersion.Builder |
botId(String botId)
The unique identifier of the bot.
|
CfnBotVersion.Builder |
botVersionLocaleSpecification(IResolvable botVersionLocaleSpecification)
Specifies the locales that Amazon Lex adds to this version.
|
CfnBotVersion.Builder |
botVersionLocaleSpecification(List<? extends Object> botVersionLocaleSpecification)
Specifies the locales that Amazon Lex adds to this version.
|
CfnBotVersion |
build() |
static CfnBotVersion.Builder |
create(software.constructs.Construct scope,
String id) |
CfnBotVersion.Builder |
description(String description)
The description of the version.
|
@Stability(value=Stable) public static CfnBotVersion.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnBotVersion.BotVersionLocaleDetailsProperty.Builder.@Stability(value=Stable) public CfnBotVersion.Builder botId(String botId)
botId - The unique identifier of the bot. This parameter is required.this@Stability(value=Stable) public CfnBotVersion.Builder botVersionLocaleSpecification(IResolvable botVersionLocaleSpecification)
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.
botVersionLocaleSpecification - Specifies the locales that Amazon Lex adds to this version. This parameter is required.this@Stability(value=Stable) public CfnBotVersion.Builder botVersionLocaleSpecification(List<? extends Object> botVersionLocaleSpecification)
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.
botVersionLocaleSpecification - Specifies the locales that Amazon Lex adds to this version. This parameter is required.this@Stability(value=Stable) public CfnBotVersion.Builder description(String description)
description - The description of the version. This parameter is required.this@Stability(value=Stable) public CfnBotVersion build()
build in interface software.amazon.jsii.Builder<CfnBotVersion>Copyright © 2022. All rights reserved.