@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:40.622Z") @Stability(value=Stable) public interface CfnBotVersionProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;
CfnBotVersionProps cfnBotVersionProps = CfnBotVersionProps.builder()
.botId("botId")
.botVersionLocaleSpecification(List.of(BotVersionLocaleSpecificationProperty.builder()
.botVersionLocaleDetails(BotVersionLocaleDetailsProperty.builder()
.sourceBotVersion("sourceBotVersion")
.build())
.localeId("localeId")
.build()))
// the properties below are optional
.description("description")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBotVersionProps.Builder
A builder for
CfnBotVersionProps |
static class |
CfnBotVersionProps.Jsii$Proxy
An implementation for
CfnBotVersionProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnBotVersionProps.Builder |
builder() |
String |
getBotId()
The unique identifier of the bot.
|
Object |
getBotVersionLocaleSpecification()
Specifies the locales that Amazon Lex adds to this version.
|
default String |
getDescription()
The description of the version.
|
@Stability(value=Stable) @NotNull String getBotId()
@Stability(value=Stable) @NotNull Object getBotVersionLocaleSpecification()
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.
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) static CfnBotVersionProps.Builder builder()
CfnBotVersionProps.Builder of CfnBotVersionPropsCopyright © 2022. All rights reserved.