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
- the value to be set.- Returns:
this
-
publicAccess
@Stability(Stable) public CfnCluster.ConnectivityInfoProperty.Builder publicAccess(CfnCluster.PublicAccessProperty publicAccess) Sets the value ofCfnCluster.ConnectivityInfoProperty.getPublicAccess()
- Parameters:
publicAccess
- the value to be set.- Returns:
this
-
vpcConnectivity
@Stability(Stable) public CfnCluster.ConnectivityInfoProperty.Builder vpcConnectivity(IResolvable vpcConnectivity) Sets the value ofCfnCluster.ConnectivityInfoProperty.getVpcConnectivity()
- Parameters:
vpcConnectivity
- the value to be set.- Returns:
this
-
vpcConnectivity
@Stability(Stable) public CfnCluster.ConnectivityInfoProperty.Builder vpcConnectivity(CfnCluster.VpcConnectivityProperty vpcConnectivity) Sets the value ofCfnCluster.ConnectivityInfoProperty.getVpcConnectivity()
- Parameters:
vpcConnectivity
- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.ConnectivityInfoProperty>
- Returns:
- a new instance of
CfnCluster.ConnectivityInfoProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-