Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateSubnetRequest.Builder,CreateSubnetRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateSubnetRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateSubnetRequest.Builder,CreateSubnetRequest>
Contains the parameters for CreateSubnet.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateSubnetRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
String |
availabilityZone() |
The Availability Zone for the subnet.
|
static CreateSubnetRequest.Builder |
builder() |
|
String |
cidrBlock() |
The IPv4 network range for the subnet, in CIDR notation.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
ipv6CidrBlock() |
The IPv6 network range for the subnet, in CIDR notation.
|
static Class<? extends CreateSubnetRequest.Builder> |
serializableBuilderClass() |
|
CreateSubnetRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
vpcId() |
The ID of the VPC.
|
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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.
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.
public String cidrBlock()
The IPv4 network range for the subnet, in CIDR notation. For example, 10.0.0.0/24
.
10.0.0.0/24
.public String ipv6CidrBlock()
The IPv6 network range for the subnet, in CIDR notation. The subnet size must use a /64 prefix length.
public String vpcId()
The ID of the VPC.
public CreateSubnetRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateSubnetRequest.Builder,CreateSubnetRequest>
public static CreateSubnetRequest.Builder builder()
public static Class<? extends CreateSubnetRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.