public static final class PrivateSubnetAttributes.Builder
extends java.lang.Object
PrivateSubnetAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PrivateSubnetAttributes.Builder |
availabilityZone(java.lang.String availabilityZone)
Sets the value of
SubnetAttributes.getAvailabilityZone() |
PrivateSubnetAttributes |
build()
Builds the configured instance.
|
PrivateSubnetAttributes.Builder |
ipv4CidrBlock(java.lang.String ipv4CidrBlock)
Sets the value of
SubnetAttributes.getIpv4CidrBlock() |
PrivateSubnetAttributes.Builder |
routeTableId(java.lang.String routeTableId)
Sets the value of
SubnetAttributes.getRouteTableId() |
PrivateSubnetAttributes.Builder |
subnetId(java.lang.String subnetId)
Sets the value of
SubnetAttributes.getSubnetId() |
public PrivateSubnetAttributes.Builder subnetId(java.lang.String subnetId)
SubnetAttributes.getSubnetId()
subnetId
- The subnetId for this particular subnet. This parameter is required.this
public PrivateSubnetAttributes.Builder availabilityZone(java.lang.String availabilityZone)
SubnetAttributes.getAvailabilityZone()
availabilityZone
- The Availability Zone the subnet is located in.this
public PrivateSubnetAttributes.Builder ipv4CidrBlock(java.lang.String ipv4CidrBlock)
SubnetAttributes.getIpv4CidrBlock()
ipv4CidrBlock
- The IPv4 CIDR block associated with the subnet.this
public PrivateSubnetAttributes.Builder routeTableId(java.lang.String routeTableId)
SubnetAttributes.getRouteTableId()
routeTableId
- The ID of the route table for this particular subnet.this
public PrivateSubnetAttributes build()
PrivateSubnetAttributes
java.lang.NullPointerException
- if any required attribute was not provided