Package software.amazon.awscdk.cxapi
Class VpcSubnet.Builder
java.lang.Object
software.amazon.awscdk.cxapi.VpcSubnet.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<VpcSubnet>
- Enclosing interface:
VpcSubnet
@Stability(Deprecated)
@Deprecated
public static final class VpcSubnet.Builder
extends Object
implements software.amazon.jsii.Builder<VpcSubnet>
Deprecated.
A builder for
VpcSubnet-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailabilityZone(String availabilityZone) Deprecated.build()Deprecated.Deprecated.routeTableId(String routeTableId) Deprecated.Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
availabilityZone
@Stability(Deprecated) @Deprecated public VpcSubnet.Builder availabilityZone(String availabilityZone) Deprecated.Sets the value ofVpcSubnet.getAvailabilityZone()- Parameters:
availabilityZone- The code of the availability zone this subnet is in (for example, 'us-west-2a'). This parameter is required.- Returns:
this
-
routeTableId
Deprecated.Sets the value ofVpcSubnet.getRouteTableId()- Parameters:
routeTableId- The identifier of the route table for this subnet. This parameter is required.- Returns:
this
-
subnetId
Deprecated.Sets the value ofVpcSubnet.getSubnetId()- Parameters:
subnetId- The identifier of the subnet. This parameter is required.- Returns:
this
-
cidr
Deprecated.Sets the value ofVpcSubnet.getCidr()- Parameters:
cidr- CIDR range of the subnet.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<VpcSubnet>- Returns:
- a new instance of
VpcSubnet - Throws:
NullPointerException- if any required attribute was not provided
-