Class CfnCluster.ConnectivityInfoProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.ConnectivityInfoProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ConnectivityInfoProperty>
- Enclosing interface:
CfnCluster.ConnectivityInfoProperty
@Stability(Stable)
public static final class CfnCluster.ConnectivityInfoProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ConnectivityInfoProperty>
A builder for
CfnCluster.ConnectivityInfoProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.publicAccess(IResolvable publicAccess) Sets the value ofCfnCluster.ConnectivityInfoProperty.getPublicAccess()publicAccess(CfnCluster.PublicAccessProperty publicAccess) Sets the value ofCfnCluster.ConnectivityInfoProperty.getPublicAccess()vpcConnectivity(IResolvable vpcConnectivity) Sets the value ofCfnCluster.ConnectivityInfoProperty.getVpcConnectivity()vpcConnectivity(CfnCluster.VpcConnectivityProperty vpcConnectivity) Sets the value ofCfnCluster.ConnectivityInfoProperty.getVpcConnectivity()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
publicAccess
@Stability(Stable) public CfnCluster.ConnectivityInfoProperty.Builder publicAccess(IResolvable publicAccess) Sets the value ofCfnCluster.ConnectivityInfoProperty.getPublicAccess()- Parameters:
publicAccess- Access control settings for the cluster's brokers.- Returns:
this
-
publicAccess
@Stability(Stable) public CfnCluster.ConnectivityInfoProperty.Builder publicAccess(CfnCluster.PublicAccessProperty publicAccess) Sets the value ofCfnCluster.ConnectivityInfoProperty.getPublicAccess()- Parameters:
publicAccess- Access control settings for the cluster's brokers.- Returns:
this
-
vpcConnectivity
@Stability(Stable) public CfnCluster.ConnectivityInfoProperty.Builder vpcConnectivity(IResolvable vpcConnectivity) Sets the value ofCfnCluster.ConnectivityInfoProperty.getVpcConnectivity()- Parameters:
vpcConnectivity- VPC connection control settings for brokers.- Returns:
this
-
vpcConnectivity
@Stability(Stable) public CfnCluster.ConnectivityInfoProperty.Builder vpcConnectivity(CfnCluster.VpcConnectivityProperty vpcConnectivity) Sets the value ofCfnCluster.ConnectivityInfoProperty.getVpcConnectivity()- Parameters:
vpcConnectivity- VPC connection control settings for brokers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCluster.ConnectivityInfoProperty>- Returns:
- a new instance of
CfnCluster.ConnectivityInfoProperty - Throws:
NullPointerException- if any required attribute was not provided
-