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