Class CfnCluster.PublicAccessProperty.Builder
java.lang.Object
software.amazon.awscdk.services.msk.CfnCluster.PublicAccessProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.PublicAccessProperty>
- Enclosing interface:
CfnCluster.PublicAccessProperty
@Stability(Stable)
public static final class CfnCluster.PublicAccessProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.PublicAccessProperty>
A builder for
CfnCluster.PublicAccessProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnCluster.PublicAccessProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnCluster.PublicAccessProperty.getType()
- Parameters:
type
- DISABLED means that public access is turned off. SERVICE_PROVIDED_EIPS means that public access is turned on.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.PublicAccessProperty>
- Returns:
- a new instance of
CfnCluster.PublicAccessProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-