Interface CfnBotVersionProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnBotVersionProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:29:59.678Z") @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();
 
  • Method Details

    • getBotId

      @Stability(Stable) @NotNull String getBotId()
      The unique identifier of the bot.
    • getBotVersionLocaleSpecification

      @Stability(Stable) @NotNull Object 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.

    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      The description of the version.
    • builder

      @Stability(Stable) static CfnBotVersionProps.Builder builder()
      Returns:
      a CfnBotVersionProps.Builder of CfnBotVersionProps