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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnConfiguration.Builder
description
(String description) The description of the configuration.kafkaVersionsList
(List<String> kafkaVersionsList) AWS::MSK::Configuration.KafkaVersionsList
.The name of the configuration.serverProperties
(String serverProperties) Contents of the server.properties file.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnConfiguration.Builder
.
-
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
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
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
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfiguration>
- Returns:
- a newly built instance of
CfnConfiguration
.
-