Class CfnServerlessCluster.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnServerlessCluster.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerlessCluster>
- Enclosing class:
CfnServerlessCluster
@Stability(Stable)
public static final class CfnServerlessCluster.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerlessCluster>
A fluent builder for
CfnServerlessCluster
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clientAuthentication
(IResolvable clientAuthentication) Includes all client authentication related information.clientAuthentication
(CfnServerlessCluster.ClientAuthenticationProperty clientAuthentication) Includes all client authentication related information.clusterName
(String clusterName) The name of the cluster.static CfnServerlessCluster.Builder
An arbitrary set of tags (key-value pairs) for the cluster.vpcConfigs
(List<? extends Object> vpcConfigs) VPC configuration information for the serverless cluster.vpcConfigs
(IResolvable vpcConfigs) VPC configuration information for the serverless cluster.
-
Method Details
-
create
@Stability(Stable) public static CfnServerlessCluster.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
CfnServerlessCluster.Builder
.
-
clientAuthentication
@Stability(Stable) public CfnServerlessCluster.Builder clientAuthentication(IResolvable clientAuthentication) Includes all client authentication related information.- Parameters:
clientAuthentication
- Includes all client authentication related information. This parameter is required.- Returns:
this
- See Also:
-
clientAuthentication
@Stability(Stable) public CfnServerlessCluster.Builder clientAuthentication(CfnServerlessCluster.ClientAuthenticationProperty clientAuthentication) Includes all client authentication related information.- Parameters:
clientAuthentication
- Includes all client authentication related information. This parameter is required.- Returns:
this
- See Also:
-
clusterName
The name of the cluster.- Parameters:
clusterName
- The name of the cluster. This parameter is required.- Returns:
this
- See Also:
-
vpcConfigs
VPC configuration information for the serverless cluster.- Parameters:
vpcConfigs
- VPC configuration information for the serverless cluster. This parameter is required.- Returns:
this
- See Also:
-
vpcConfigs
@Stability(Stable) public CfnServerlessCluster.Builder vpcConfigs(List<? extends Object> vpcConfigs) VPC configuration information for the serverless cluster.- Parameters:
vpcConfigs
- VPC configuration information for the serverless cluster. This parameter is required.- Returns:
this
- See Also:
-
tags
An arbitrary set of tags (key-value pairs) for the cluster.- Parameters:
tags
- An arbitrary set of tags (key-value pairs) for the cluster. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServerlessCluster>
- Returns:
- a newly built instance of
CfnServerlessCluster
.
-