@Generated(value="software.amazon.awssdk:codegen") public final class CreateDefaultSubnetRequest extends Ec2Request implements ToCopyableBuilder<CreateDefaultSubnetRequest.Builder,CreateDefaultSubnetRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateDefaultSubnetRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
availabilityZone()
The Availability Zone in which to create the default subnet.
|
static CreateDefaultSubnetRequest.Builder |
builder() |
Boolean |
dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
ipv6Native()
Indicates whether to create an IPv6 only subnet.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateDefaultSubnetRequest.Builder> |
serializableBuilderClass() |
CreateDefaultSubnetRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String availabilityZone()
The Availability Zone in which to create the default subnet.
public final Boolean dryRun()
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
DryRunOperation. Otherwise, it is UnauthorizedOperation.public final Boolean ipv6Native()
Indicates whether to create an IPv6 only subnet. If you already have a default subnet for this Availability Zone, you must delete it before you can create an IPv6 only subnet.
public CreateDefaultSubnetRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateDefaultSubnetRequest.Builder,CreateDefaultSubnetRequest>toBuilder in class Ec2Requestpublic static CreateDefaultSubnetRequest.Builder builder()
public static Class<? extends CreateDefaultSubnetRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.