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