Package software.amazon.awscdk.cxapi
Class VpcContextResponse.Builder
java.lang.Object
software.amazon.awscdk.cxapi.VpcContextResponse.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcContextResponse>
- Enclosing interface:
VpcContextResponse
@Stability(Deprecated)
@Deprecated
public static final class VpcContextResponse.Builder
extends Object
implements software.amazon.jsii.Builder<VpcContextResponse>
Deprecated.
A builder for
VpcContextResponse-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZones(List<String> availabilityZones) Deprecated.build()Deprecated.isolatedSubnetIds(List<String> isolatedSubnetIds) Deprecated.isolatedSubnetNames(List<String> isolatedSubnetNames) Deprecated.isolatedSubnetRouteTableIds(List<String> isolatedSubnetRouteTableIds) Deprecated.ownerAccountId(String ownerAccountId) Deprecated.privateSubnetIds(List<String> privateSubnetIds) Deprecated.privateSubnetNames(List<String> privateSubnetNames) Deprecated.privateSubnetRouteTableIds(List<String> privateSubnetRouteTableIds) Deprecated.publicSubnetIds(List<String> publicSubnetIds) Deprecated.publicSubnetNames(List<String> publicSubnetNames) Deprecated.publicSubnetRouteTableIds(List<String> publicSubnetRouteTableIds) Deprecated.Deprecated.subnetGroups(List<? extends VpcSubnetGroup> subnetGroups) Deprecated.vpcCidrBlock(String vpcCidrBlock) Deprecated.Deprecated.vpnGatewayId(String vpnGatewayId) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
availabilityZones
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder availabilityZones(List<String> availabilityZones) Deprecated.Sets the value ofVpcContextResponse.getAvailabilityZones()- Parameters:
availabilityZones- AZs. This parameter is required.- Returns:
this
-
vpcId
Deprecated.Sets the value ofVpcContextResponse.getVpcId()- Parameters:
vpcId- VPC id. This parameter is required.- Returns:
this
-
isolatedSubnetIds
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder isolatedSubnetIds(List<String> isolatedSubnetIds) Deprecated.Sets the value ofVpcContextResponse.getIsolatedSubnetIds()- Parameters:
isolatedSubnetIds- IDs of all isolated subnets. Element count: #(availabilityZones) · #(isolatedGroups)- Returns:
this
-
isolatedSubnetNames
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder isolatedSubnetNames(List<String> isolatedSubnetNames) Deprecated.Sets the value ofVpcContextResponse.getIsolatedSubnetNames()- Parameters:
isolatedSubnetNames- Name of isolated subnet groups. Element count: #(isolatedGroups)- Returns:
this
-
isolatedSubnetRouteTableIds
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder isolatedSubnetRouteTableIds(List<String> isolatedSubnetRouteTableIds) Deprecated.Sets the value ofVpcContextResponse.getIsolatedSubnetRouteTableIds()- Parameters:
isolatedSubnetRouteTableIds- Route Table IDs of isolated subnet groups. Element count: #(availabilityZones) · #(isolatedGroups)- Returns:
this
-
ownerAccountId
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder ownerAccountId(String ownerAccountId) Deprecated.Sets the value ofVpcContextResponse.getOwnerAccountId()- Parameters:
ownerAccountId- The ID of the AWS account that owns the VPC.- Returns:
this
-
privateSubnetIds
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder privateSubnetIds(List<String> privateSubnetIds) Deprecated.Sets the value ofVpcContextResponse.getPrivateSubnetIds()- Parameters:
privateSubnetIds- IDs of all private subnets. Element count: #(availabilityZones) · #(privateGroups)- Returns:
this
-
privateSubnetNames
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder privateSubnetNames(List<String> privateSubnetNames) Deprecated.Sets the value ofVpcContextResponse.getPrivateSubnetNames()- Parameters:
privateSubnetNames- Name of private subnet groups. Element count: #(privateGroups)- Returns:
this
-
privateSubnetRouteTableIds
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder privateSubnetRouteTableIds(List<String> privateSubnetRouteTableIds) Deprecated.Sets the value ofVpcContextResponse.getPrivateSubnetRouteTableIds()- Parameters:
privateSubnetRouteTableIds- Route Table IDs of private subnet groups. Element count: #(availabilityZones) · #(privateGroups)- Returns:
this
-
publicSubnetIds
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder publicSubnetIds(List<String> publicSubnetIds) Deprecated.Sets the value ofVpcContextResponse.getPublicSubnetIds()- Parameters:
publicSubnetIds- IDs of all public subnets. Element count: #(availabilityZones) · #(publicGroups)- Returns:
this
-
publicSubnetNames
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder publicSubnetNames(List<String> publicSubnetNames) Deprecated.Sets the value ofVpcContextResponse.getPublicSubnetNames()- Parameters:
publicSubnetNames- Name of public subnet groups. Element count: #(publicGroups)- Returns:
this
-
publicSubnetRouteTableIds
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder publicSubnetRouteTableIds(List<String> publicSubnetRouteTableIds) Deprecated.Sets the value ofVpcContextResponse.getPublicSubnetRouteTableIds()- Parameters:
publicSubnetRouteTableIds- Route Table IDs of public subnet groups. Element count: #(availabilityZones) · #(publicGroups)- Returns:
this
-
region
Deprecated.Sets the value ofVpcContextResponse.getRegion()- Parameters:
region- The region in which the VPC is in.- Returns:
this
-
subnetGroups
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder subnetGroups(List<? extends VpcSubnetGroup> subnetGroups) Deprecated.Sets the value ofVpcContextResponse.getSubnetGroups()- Parameters:
subnetGroups- The subnet groups discovered for the given VPC. Unlike the above properties, this will include asymmetric subnets, if the VPC has any. This property will only be populated ifVpcContextQuery.returnAsymmetricSubnetsis true.- Returns:
this
-
vpcCidrBlock
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder vpcCidrBlock(String vpcCidrBlock) Deprecated.Sets the value ofVpcContextResponse.getVpcCidrBlock()- Parameters:
vpcCidrBlock- VPC cidr.- Returns:
this
-
vpnGatewayId
@Stability(Deprecated) @Deprecated public VpcContextResponse.Builder vpnGatewayId(String vpnGatewayId) Deprecated.Sets the value ofVpcContextResponse.getVpnGatewayId()- Parameters:
vpnGatewayId- The VPN gateway ID.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpcContextResponse>- Returns:
- a new instance of
VpcContextResponse - Throws:
NullPointerException- if any required attribute was not provided
-