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