@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.
|
overrideConfiguration
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String vpcId()
The ID of the VPC.
public 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()
.
VpcTenancy
public 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()
.
VpcTenancy
public ModifyVpcTenancyRequest.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<ModifyVpcTenancyRequest.Builder,ModifyVpcTenancyRequest>
toBuilder
in class Ec2Request
public static ModifyVpcTenancyRequest.Builder builder()
public static Class<? extends ModifyVpcTenancyRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode
in class AwsRequest
public boolean equals(Object obj)
equals
in class AwsRequest
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField
in class SdkRequest
Copyright © 2019. All rights reserved.