Class CfnBotVersion.Builder

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

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

    • create

      @Stability(Stable) public static CfnBotVersion.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnBotVersion.Builder.
    • botId

      @Stability(Stable) public CfnBotVersion.Builder botId(String botId)
      The unique identifier of the bot.

      Parameters:
      botId - The unique identifier of the bot. This parameter is required.
      Returns:
      this
    • botVersionLocaleSpecification

      @Stability(Stable) public CfnBotVersion.Builder botVersionLocaleSpecification(IResolvable botVersionLocaleSpecification)
      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.

      Parameters:
      botVersionLocaleSpecification - Specifies the locales that Amazon Lex adds to this version. This parameter is required.
      Returns:
      this
    • botVersionLocaleSpecification

      @Stability(Stable) public CfnBotVersion.Builder botVersionLocaleSpecification(List<? extends Object> botVersionLocaleSpecification)
      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.

      Parameters:
      botVersionLocaleSpecification - Specifies the locales that Amazon Lex adds to this version. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnBotVersion.Builder description(String description)
      The description of the version.

      Parameters:
      description - The description of the version. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public CfnBotVersion build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnBotVersion>
      Returns:
      a newly built instance of CfnBotVersion.