Class ClusterPolicyReference.Builder
java.lang.Object
software.amazon.awscdk.services.msk.ClusterPolicyReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ClusterPolicyReference>
- Enclosing interface:
ClusterPolicyReference
@Stability(Stable)
public static final class ClusterPolicyReference.Builder
extends Object
implements software.amazon.jsii.Builder<ClusterPolicyReference>
A builder for
ClusterPolicyReference
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clusterArn
(String clusterArn) Sets the value ofClusterPolicyReference.getClusterArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterArn
Sets the value ofClusterPolicyReference.getClusterArn()
- Parameters:
clusterArn
- The ClusterArn of the ClusterPolicy resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<ClusterPolicyReference>
- Returns:
- a new instance of
ClusterPolicyReference
- Throws:
NullPointerException
- if any required attribute was not provided
-