Interface CfnBotVersionProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnBotVersionProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.102.0 (build e354887)",
date="2024-08-23T05:56:19.172Z")
@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 class
A builder forCfnBotVersionProps
static final class
An implementation forCfnBotVersionProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnBotVersionProps.Builder
builder()
getBotId()
The unique identifier of the bot.Specifies the locales that Amazon Lex adds to this version.default String
The 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.
- See Also:
-
getDescription
The description of the version.- See Also:
-
builder
- Returns:
- a
CfnBotVersionProps.Builder
ofCfnBotVersionProps
-