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.Builderdescription(String description) The description of the configuration.kafkaVersionsList(List<String> kafkaVersionsList) latestRevision(IResolvable latestRevision) Latest revision of the configuration.latestRevision(CfnConfiguration.LatestRevisionProperty latestRevision) Latest revision of the configuration.The name of the configuration.serverProperties(String serverProperties) Contents of the server.properties file.
-
Method Details
-
create
@Stability(Stable) public static CfnConfiguration.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- 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- See Also:
-
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- See Also:
-
description
The description of the configuration.- Parameters:
description- The description of the configuration. This parameter is required.- Returns:
this- See Also:
-
kafkaVersionsList
@Stability(Stable) public CfnConfiguration.Builder kafkaVersionsList(List<String> kafkaVersionsList) - Parameters:
kafkaVersionsList- This parameter is required.- Returns:
this- See Also:
-
latestRevision
Latest revision of the configuration.- Parameters:
latestRevision- Latest revision of the configuration. This parameter is required.- Returns:
this- See Also:
-
latestRevision
@Stability(Stable) public CfnConfiguration.Builder latestRevision(CfnConfiguration.LatestRevisionProperty latestRevision) Latest revision of the configuration.- Parameters:
latestRevision- Latest revision of the configuration. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguration>- Returns:
- a newly built instance of
CfnConfiguration.
-