@Generated(value="software.amazon.awssdk:codegen") public final class ModifyVpcTenancyRequest extends Ec2Request implements ToCopyableBuilder<ModifyVpcTenancyRequest.Builder,ModifyVpcTenancyRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
ModifyVpcTenancyRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static ModifyVpcTenancyRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
VpcTenancy |
instanceTenancy()
The instance tenancy attribute for the VPC.
|
String |
instanceTenancyAsString()
The instance tenancy attribute for the VPC.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ModifyVpcTenancyRequest.Builder> |
serializableBuilderClass() |
ModifyVpcTenancyRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
vpcId()
The ID of the VPC.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String vpcId()
The ID of the VPC.
public final VpcTenancy instanceTenancy()
The instance tenancy attribute for the VPC.
If the service returns an enum value that is not available in the current SDK version, instanceTenancy
will return VpcTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTenancyAsString().
VpcTenancypublic final String instanceTenancyAsString()
The instance tenancy attribute for the VPC.
If the service returns an enum value that is not available in the current SDK version, instanceTenancy
will return VpcTenancy.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
instanceTenancyAsString().
VpcTenancypublic ModifyVpcTenancyRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ModifyVpcTenancyRequest.Builder,ModifyVpcTenancyRequest>toBuilder in class Ec2Requestpublic static ModifyVpcTenancyRequest.Builder builder()
public static Class<? extends ModifyVpcTenancyRequest.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 © 2022. All rights reserved.