Interface CfnBotVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:44.684Z")
@Stability(Stable)
public interface CfnBotVersionProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnBotVersion.
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();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnBotVersionPropsstatic final classAn implementation forCfnBotVersionProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnBotVersionProps.Builderbuilder()getBotId()The unique identifier of the bot.Specifies the locales that Amazon Lex adds to this version.default StringThe description of the version.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getBotId
The unique identifier of the bot.- See Also:
-
getBotVersionLocaleSpecification
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.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnBotVersion.BotVersionLocaleSpecificationProperty>- See Also:
-
getDescription
The description of the version.- See Also:
-
builder
- Returns:
- a
CfnBotVersionProps.BuilderofCfnBotVersionProps
-