Class CfnConfiguration.Builder

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

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

    • create

      @Stability(Stable) public static CfnConfiguration.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 CfnConfiguration.Builder.
    • data

      @Stability(Stable) public CfnConfiguration.Builder data(String data)
      The base64-encoded XML configuration.

      Parameters:
      data - The base64-encoded XML configuration. This parameter is required.
      Returns:
      this
    • engineType

      @Stability(Stable) public CfnConfiguration.Builder engineType(String engineType)
      The type of broker engine.

      Note: Currently, Amazon MQ only supports ACTIVEMQ for creating and editing broker configurations.

      Parameters:
      engineType - The type of broker engine. This parameter is required.
      Returns:
      this
    • engineVersion

      @Stability(Stable) public CfnConfiguration.Builder engineVersion(String engineVersion)
      The version of the broker engine.

      For a list of supported engine versions, see

      Parameters:
      engineVersion - The version of the broker engine. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnConfiguration.Builder name(String name)
      The name of the configuration.

      This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 1-150 characters long.

      Parameters:
      name - The name of the configuration. This parameter is required.
      Returns:
      this
    • authenticationStrategy

      @Stability(Stable) public CfnConfiguration.Builder authenticationStrategy(String authenticationStrategy)
      Optional.

      The authentication strategy associated with the configuration. The default is SIMPLE .

      Parameters:
      authenticationStrategy - Optional. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnConfiguration.Builder description(String description)
      The description of the configuration.

      Parameters:
      description - The description of the configuration. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnConfiguration.Builder tags(List<? extends CfnConfiguration.TagsEntryProperty> tags)
      Create tags when creating the configuration.

      Parameters:
      tags - Create tags when creating the configuration. This parameter is required.
      Returns:
      this
    • build

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