@Stability(value=Stable) public static final class CfnBotVersionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnBotVersionProps>
CfnBotVersionProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBotVersionProps.Builder |
botId(String botId)
Sets the value of
CfnBotVersionProps.getBotId() |
CfnBotVersionProps.Builder |
botVersionLocaleSpecification(IResolvable botVersionLocaleSpecification)
Sets the value of
CfnBotVersionProps.getBotVersionLocaleSpecification() |
CfnBotVersionProps.Builder |
botVersionLocaleSpecification(List<? extends Object> botVersionLocaleSpecification)
Sets the value of
CfnBotVersionProps.getBotVersionLocaleSpecification() |
CfnBotVersionProps |
build()
Builds the configured instance.
|
CfnBotVersionProps.Builder |
description(String description)
Sets the value of
CfnBotVersionProps.getDescription() |
@Stability(value=Stable) public CfnBotVersionProps.Builder botId(String botId)
CfnBotVersionProps.getBotId()botId - The unique identifier of the bot. This parameter is required.this@Stability(value=Stable) public CfnBotVersionProps.Builder botVersionLocaleSpecification(IResolvable botVersionLocaleSpecification)
CfnBotVersionProps.getBotVersionLocaleSpecification()botVersionLocaleSpecification - Specifies the locales that Amazon Lex adds to this version. This parameter is required.
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.this@Stability(value=Stable) public CfnBotVersionProps.Builder botVersionLocaleSpecification(List<? extends Object> botVersionLocaleSpecification)
CfnBotVersionProps.getBotVersionLocaleSpecification()botVersionLocaleSpecification - Specifies the locales that Amazon Lex adds to this version. This parameter is required.
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.this@Stability(value=Stable) public CfnBotVersionProps.Builder description(String description)
CfnBotVersionProps.getDescription()description - The description of the version.this@Stability(value=Stable) public CfnBotVersionProps build()
build in interface software.amazon.jsii.Builder<CfnBotVersionProps>CfnBotVersionPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.