Class CfnBotVersionProps.Builder

java.lang.Object
software.amazon.awscdk.services.lex.CfnBotVersionProps.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBotVersionProps>
Enclosing interface:
CfnBotVersionProps

@Stability(Stable) public static final class CfnBotVersionProps.Builder extends Object implements software.amazon.jsii.Builder<CfnBotVersionProps>
A builder for CfnBotVersionProps
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • botId

      @Stability(Stable) public CfnBotVersionProps.Builder botId(String botId)
      Parameters:
      botId - The unique identifier of the bot. This parameter is required.
      Returns:
      this
    • botVersionLocaleSpecification

      @Stability(Stable) public CfnBotVersionProps.Builder botVersionLocaleSpecification(IResolvable botVersionLocaleSpecification)
      Parameters:
      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.
      Returns:
      this
    • botVersionLocaleSpecification

      @Stability(Stable) public CfnBotVersionProps.Builder botVersionLocaleSpecification(List<? extends Object> botVersionLocaleSpecification)
      Parameters:
      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.
      Returns:
      this
    • description

      @Stability(Stable) public CfnBotVersionProps.Builder description(String description)
      Parameters:
      description - The description of the version.
      Returns:
      this
    • build

      @Stability(Stable) public CfnBotVersionProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnBotVersionProps>
      Returns:
      a new instance of CfnBotVersionProps
      Throws:
      NullPointerException - if any required attribute was not provided