Class CfnClusterPolicy.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnClusterPolicy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPolicy>
- Enclosing class:
- CfnClusterPolicy
@Stability(Stable)
public static final class CfnClusterPolicy.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPolicy>
A fluent builder for
CfnClusterPolicy
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clusterArn
(String clusterArn) The Amazon Resource Name (ARN) that uniquely identifies the cluster.static CfnClusterPolicy.Builder
Resource policy for the cluster.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnClusterPolicy.Builder
.
-
clusterArn
The Amazon Resource Name (ARN) that uniquely identifies the cluster.- Parameters:
clusterArn
- The Amazon Resource Name (ARN) that uniquely identifies the cluster. This parameter is required.- Returns:
this
-
policy
Resource policy for the cluster.- Parameters:
policy
- Resource policy for the cluster. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnClusterPolicy>
- Returns:
- a newly built instance of
CfnClusterPolicy
.
-