Class CfnServerlessClusterProps.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnServerlessClusterProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerlessClusterProps>
- Enclosing interface:
- CfnServerlessClusterProps
@Stability(Stable)
public static final class CfnServerlessClusterProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerlessClusterProps>
A builder for
CfnServerlessClusterProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clientAuthentication
(IResolvable clientAuthentication) Sets the value ofCfnServerlessClusterProps.getClientAuthentication()
clientAuthentication
(CfnServerlessCluster.ClientAuthenticationProperty clientAuthentication) Sets the value ofCfnServerlessClusterProps.getClientAuthentication()
clusterName
(String clusterName) Sets the value ofCfnServerlessClusterProps.getClusterName()
Sets the value ofCfnServerlessClusterProps.getTags()
vpcConfigs
(List<? extends Object> vpcConfigs) Sets the value ofCfnServerlessClusterProps.getVpcConfigs()
vpcConfigs
(IResolvable vpcConfigs) Sets the value ofCfnServerlessClusterProps.getVpcConfigs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientAuthentication
@Stability(Stable) public CfnServerlessClusterProps.Builder clientAuthentication(IResolvable clientAuthentication) Sets the value ofCfnServerlessClusterProps.getClientAuthentication()
- Parameters:
clientAuthentication
-AWS::MSK::ServerlessCluster.ClientAuthentication
. This parameter is required.- Returns:
this
-
clientAuthentication
@Stability(Stable) public CfnServerlessClusterProps.Builder clientAuthentication(CfnServerlessCluster.ClientAuthenticationProperty clientAuthentication) Sets the value ofCfnServerlessClusterProps.getClientAuthentication()
- Parameters:
clientAuthentication
-AWS::MSK::ServerlessCluster.ClientAuthentication
. This parameter is required.- Returns:
this
-
clusterName
Sets the value ofCfnServerlessClusterProps.getClusterName()
- Parameters:
clusterName
-AWS::MSK::ServerlessCluster.ClusterName
. This parameter is required.- Returns:
this
-
vpcConfigs
Sets the value ofCfnServerlessClusterProps.getVpcConfigs()
- Parameters:
vpcConfigs
-AWS::MSK::ServerlessCluster.VpcConfigs
. This parameter is required.- Returns:
this
-
vpcConfigs
@Stability(Stable) public CfnServerlessClusterProps.Builder vpcConfigs(List<? extends Object> vpcConfigs) Sets the value ofCfnServerlessClusterProps.getVpcConfigs()
- Parameters:
vpcConfigs
-AWS::MSK::ServerlessCluster.VpcConfigs
. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnServerlessClusterProps.getTags()
- Parameters:
tags
-AWS::MSK::ServerlessCluster.Tags
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnServerlessClusterProps>
- Returns:
- a new instance of
CfnServerlessClusterProps
- Throws:
NullPointerException
- if any required attribute was not provided
-