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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateSubnetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateSubnetRequest.Builder |
vpcId(String vpcId)
The ID of the VPC.
|
build
overrideConfiguration
copy
applyMutation, 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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateSubnetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.