Class CfnServerlessClusterPropsMixin.VpcConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.msk.CfnServerlessClusterPropsMixin.VpcConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServerlessClusterPropsMixin.VpcConfigProperty>
- Enclosing interface:
CfnServerlessClusterPropsMixin.VpcConfigProperty
@Stability(Stable)
public static final class CfnServerlessClusterPropsMixin.VpcConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServerlessClusterPropsMixin.VpcConfigProperty>
A builder for
CfnServerlessClusterPropsMixin.VpcConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.securityGroups(List<? extends Object> securityGroups) Sets the value ofCfnServerlessClusterPropsMixin.VpcConfigProperty.getSecurityGroups()Sets the value ofCfnServerlessClusterPropsMixin.VpcConfigProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroups
@Stability(Stable) public CfnServerlessClusterPropsMixin.VpcConfigProperty.Builder securityGroups(List<? extends Object> securityGroups) Sets the value ofCfnServerlessClusterPropsMixin.VpcConfigProperty.getSecurityGroups()- Parameters:
securityGroups- the value to be set.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnServerlessClusterPropsMixin.VpcConfigProperty.Builder subnetIds(List<? extends Object> subnetIds) Sets the value ofCfnServerlessClusterPropsMixin.VpcConfigProperty.getSubnetIds()- Parameters:
subnetIds- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServerlessClusterPropsMixin.VpcConfigProperty>- Returns:
- a new instance of
CfnServerlessClusterPropsMixin.VpcConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-