public static interface CreateSubnetRequest.Builder extends EC2Request.Builder, CopyableBuilder<CreateSubnetRequest.Builder,CreateSubnetRequest>
Modifier and Type | Method and 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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
CreateSubnetRequest.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
build
requestOverrideConfig, requestOverrideConfig
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.CreateSubnetRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.