@Stability(value=Stable) public static final class VpcAttributes.Builder extends Object implements software.amazon.jsii.Builder<VpcAttributes>
VpcAttributes| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public VpcAttributes.Builder availabilityZones(List<String> availabilityZones)
VpcAttributes.getAvailabilityZones()availabilityZones - List of availability zones for the subnets in this VPC. This parameter is required.this@Stability(value=Stable) public VpcAttributes.Builder vpcId(String vpcId)
VpcAttributes.getVpcId()vpcId - VPC's identifier. This parameter is required.this@Stability(value=Stable) public VpcAttributes.Builder isolatedSubnetIds(List<String> isolatedSubnetIds)
VpcAttributes.getIsolatedSubnetIds()isolatedSubnetIds - List of isolated subnet IDs.
Must be undefined or match the availability zones in length and order.this@Stability(value=Stable) public VpcAttributes.Builder isolatedSubnetNames(List<String> isolatedSubnetNames)
VpcAttributes.getIsolatedSubnetNames()isolatedSubnetNames - List of names for the isolated subnets.
Must be undefined or have a name for every isolated subnet group.this@Stability(value=Stable) public VpcAttributes.Builder isolatedSubnetRouteTableIds(List<String> isolatedSubnetRouteTableIds)
VpcAttributes.getIsolatedSubnetRouteTableIds()isolatedSubnetRouteTableIds - List of IDs of routing tables for the isolated subnets.
Must be undefined or have a name for every isolated subnet group.this@Stability(value=Stable) public VpcAttributes.Builder privateSubnetIds(List<String> privateSubnetIds)
VpcAttributes.getPrivateSubnetIds()privateSubnetIds - List of private subnet IDs.
Must be undefined or match the availability zones in length and order.this@Stability(value=Stable) public VpcAttributes.Builder privateSubnetNames(List<String> privateSubnetNames)
VpcAttributes.getPrivateSubnetNames()privateSubnetNames - List of names for the private subnets.
Must be undefined or have a name for every private subnet group.this@Stability(value=Stable) public VpcAttributes.Builder privateSubnetRouteTableIds(List<String> privateSubnetRouteTableIds)
VpcAttributes.getPrivateSubnetRouteTableIds()privateSubnetRouteTableIds - List of IDs of routing tables for the private subnets.
Must be undefined or have a name for every private subnet group.this@Stability(value=Stable) public VpcAttributes.Builder publicSubnetIds(List<String> publicSubnetIds)
VpcAttributes.getPublicSubnetIds()publicSubnetIds - List of public subnet IDs.
Must be undefined or match the availability zones in length and order.this@Stability(value=Stable) public VpcAttributes.Builder publicSubnetNames(List<String> publicSubnetNames)
VpcAttributes.getPublicSubnetNames()publicSubnetNames - List of names for the public subnets.
Must be undefined or have a name for every public subnet group.this@Stability(value=Stable) public VpcAttributes.Builder publicSubnetRouteTableIds(List<String> publicSubnetRouteTableIds)
VpcAttributes.getPublicSubnetRouteTableIds()publicSubnetRouteTableIds - List of IDs of routing tables for the public subnets.
Must be undefined or have a name for every public subnet group.this@Stability(value=Stable) public VpcAttributes.Builder region(String region)
VpcAttributes.getRegion()region - The region the VPC is in.this@Stability(value=Stable) public VpcAttributes.Builder vpcCidrBlock(String vpcCidrBlock)
VpcAttributes.getVpcCidrBlock()vpcCidrBlock - VPC's CIDR range.this@Stability(value=Stable) public VpcAttributes.Builder vpnGatewayId(String vpnGatewayId)
VpcAttributes.getVpnGatewayId()vpnGatewayId - VPN gateway's identifier.this@Stability(value=Stable) public VpcAttributes build()
build in interface software.amazon.jsii.Builder<VpcAttributes>VpcAttributesNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.