@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyVpcTenancyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyVpcTenancyRequest>
Contains the parameters for ModifyVpcTenancy.
NOOP
Constructor and Description |
---|
ModifyVpcTenancyRequest() |
Modifier and Type | Method and Description |
---|---|
ModifyVpcTenancyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<ModifyVpcTenancyRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInstanceTenancy()
The instance tenancy attribute for the VPC.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setInstanceTenancy(String instanceTenancy)
The instance tenancy attribute for the VPC.
|
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ModifyVpcTenancyRequest |
withInstanceTenancy(String instanceTenancy)
The instance tenancy attribute for the VPC.
|
ModifyVpcTenancyRequest |
withInstanceTenancy(VpcTenancy instanceTenancy)
The instance tenancy attribute for the VPC.
|
ModifyVpcTenancyRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public ModifyVpcTenancyRequest withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public void setInstanceTenancy(String instanceTenancy)
The instance tenancy attribute for the VPC.
instanceTenancy
- The instance tenancy attribute for the VPC.VpcTenancy
public String getInstanceTenancy()
The instance tenancy attribute for the VPC.
VpcTenancy
public ModifyVpcTenancyRequest withInstanceTenancy(String instanceTenancy)
The instance tenancy attribute for the VPC.
instanceTenancy
- The instance tenancy attribute for the VPC.VpcTenancy
public ModifyVpcTenancyRequest withInstanceTenancy(VpcTenancy instanceTenancy)
The instance tenancy attribute for the VPC.
instanceTenancy
- The instance tenancy attribute for the VPC.VpcTenancy
public Request<ModifyVpcTenancyRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<ModifyVpcTenancyRequest>
public String toString()
toString
in class Object
Object.toString()
public ModifyVpcTenancyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.