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