Class CfnConfiguration.Builder

java.lang.Object
software.amazon.awscdk.services.msk.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.
    • name

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

      Configuration names are strings that match the regex "^[0-9A-Za-z][0-9A-Za-z-]{0,}$".

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

      @Stability(Stable) public CfnConfiguration.Builder serverProperties(String serverProperties)
      Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the CLI, the contents of server.properties can be in plaintext.

      Parameters:
      serverProperties - Contents of the server.properties file. When using the API, you must ensure that the contents of the file are base64 encoded. When using the console, the SDK, or the CLI, the contents of server.properties can be in plaintext. 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
    • kafkaVersionsList

      @Stability(Stable) public CfnConfiguration.Builder kafkaVersionsList(List<String> kafkaVersionsList)
      AWS::MSK::Configuration.KafkaVersionsList.

      Parameters:
      kafkaVersionsList - AWS::MSK::Configuration.KafkaVersionsList. 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.