Class CfnReplicator.AmazonMskClusterProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnReplicator.AmazonMskClusterProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnReplicator.AmazonMskClusterProperty>
- Enclosing interface:
CfnReplicator.AmazonMskClusterProperty
@Stability(Stable)
public static final class CfnReplicator.AmazonMskClusterProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnReplicator.AmazonMskClusterProperty>
A builder for
CfnReplicator.AmazonMskClusterProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.mskClusterArn
(String mskClusterArn) Sets the value ofCfnReplicator.AmazonMskClusterProperty.getMskClusterArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mskClusterArn
@Stability(Stable) public CfnReplicator.AmazonMskClusterProperty.Builder mskClusterArn(String mskClusterArn) Sets the value ofCfnReplicator.AmazonMskClusterProperty.getMskClusterArn()
- Parameters:
mskClusterArn
- The Amazon Resource Name (ARN) of an Amazon MSK cluster. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnReplicator.AmazonMskClusterProperty>
- Returns:
- a new instance of
CfnReplicator.AmazonMskClusterProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-