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) kafkaVersionsList
(List<String> kafkaVersionsList) latestRevision
(IResolvable latestRevision) latestRevision
(CfnConfiguration.LatestRevisionProperty latestRevision) serverProperties
(String serverProperties)
-
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
- Parameters:
name
- This parameter is required.- Returns:
this
- See Also:
-
serverProperties
- Parameters:
serverProperties
- This parameter is required.- Returns:
this
- See Also:
-
description
- Parameters:
description
- 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
- Parameters:
latestRevision
- This parameter is required.- Returns:
this
- See Also:
-
latestRevision
@Stability(Stable) public CfnConfiguration.Builder latestRevision(CfnConfiguration.LatestRevisionProperty latestRevision) - Parameters:
latestRevision
- This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfiguration>
- Returns:
- a newly built instance of
CfnConfiguration
.
-