Class CfnApplicationV2.VpcConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.kinesisanalytics.CfnApplicationV2.VpcConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApplicationV2.VpcConfigurationProperty>
- Enclosing interface:
CfnApplicationV2.VpcConfigurationProperty
@Stability(Stable)
public static final class CfnApplicationV2.VpcConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApplicationV2.VpcConfigurationProperty>
A builder for
CfnApplicationV2.VpcConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.securityGroupIds
(List<String> securityGroupIds) Sets the value ofCfnApplicationV2.VpcConfigurationProperty.getSecurityGroupIds()
Sets the value ofCfnApplicationV2.VpcConfigurationProperty.getSubnetIds()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
securityGroupIds
@Stability(Stable) public CfnApplicationV2.VpcConfigurationProperty.Builder securityGroupIds(List<String> securityGroupIds) Sets the value ofCfnApplicationV2.VpcConfigurationProperty.getSecurityGroupIds()
- Parameters:
securityGroupIds
- The array of SecurityGroup IDs used by the VPC configuration. This parameter is required.- Returns:
this
-
subnetIds
@Stability(Stable) public CfnApplicationV2.VpcConfigurationProperty.Builder subnetIds(List<String> subnetIds) Sets the value ofCfnApplicationV2.VpcConfigurationProperty.getSubnetIds()
- Parameters:
subnetIds
- The array of Subnet IDs used by the VPC configuration. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnApplicationV2.VpcConfigurationProperty>
- Returns:
- a new instance of
CfnApplicationV2.VpcConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-