CopyableBuilder<CreateSubnetRequest.Builder,CreateSubnetRequest>
, SdkBuilder<CreateSubnetRequest.Builder,CreateSubnetRequest>
public static interface CreateSubnetRequest.Builder extends CopyableBuilder<CreateSubnetRequest.Builder,CreateSubnetRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateSubnetRequest.Builder |
availabilityZone(String availabilityZone) |
The Availability Zone for the subnet.
|
CreateSubnetRequest.Builder |
cidrBlock(String cidrBlock) |
The IPv4 network range for the subnet, in CIDR notation.
|
CreateSubnetRequest.Builder |
ipv6CidrBlock(String ipv6CidrBlock) |
The IPv6 network range for the subnet, in CIDR notation.
|
CreateSubnetRequest.Builder |
vpcId(String vpcId) |
The ID of the VPC.
|
copy
apply, build
CreateSubnetRequest.Builder availabilityZone(String availabilityZone)
The Availability Zone for the subnet.
Default: AWS selects one for you. If you create more than one subnet in your VPC, we may not necessarily select a different zone for each subnet.
availabilityZone
- The Availability Zone for the subnet.
Default: AWS selects one for you. If you create more than one subnet in your VPC, we may not necessarily select a different zone for each subnet.
CreateSubnetRequest.Builder cidrBlock(String cidrBlock)
The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24
.
cidrBlock
- The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24
.CreateSubnetRequest.Builder ipv6CidrBlock(String ipv6CidrBlock)
The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.
ipv6CidrBlock
- The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.CreateSubnetRequest.Builder vpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.