public class DetachClassicLinkVpcRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DetachClassicLinkVpcRequest>
Contains the parameters for DetachClassicLinkVpc.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
instanceId
The ID of the instance to unlink from the VPC.
|
private java.lang.String |
vpcId
The ID of the VPC to which the instance is linked.
|
NOOP
Constructor and Description |
---|
DetachClassicLinkVpcRequest() |
Modifier and Type | Method and Description |
---|---|
DetachClassicLinkVpcRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DetachClassicLinkVpcRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getInstanceId()
The ID of the instance to unlink from the VPC.
|
java.lang.String |
getVpcId()
The ID of the VPC to which the instance is linked.
|
int |
hashCode() |
void |
setInstanceId(java.lang.String instanceId)
The ID of the instance to unlink from the VPC.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC to which the instance is linked.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DetachClassicLinkVpcRequest |
withInstanceId(java.lang.String instanceId)
The ID of the instance to unlink from the VPC.
|
DetachClassicLinkVpcRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC to which the instance is linked.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String instanceId
The ID of the instance to unlink from the VPC.
private java.lang.String vpcId
The ID of the VPC to which the instance is linked.
public void setInstanceId(java.lang.String instanceId)
The ID of the instance to unlink from the VPC.
instanceId
- The ID of the instance to unlink from the VPC.public java.lang.String getInstanceId()
The ID of the instance to unlink from the VPC.
public DetachClassicLinkVpcRequest withInstanceId(java.lang.String instanceId)
The ID of the instance to unlink from the VPC.
instanceId
- The ID of the instance to unlink from the VPC.public void setVpcId(java.lang.String vpcId)
The ID of the VPC to which the instance is linked.
vpcId
- The ID of the VPC to which the instance is linked.public java.lang.String getVpcId()
The ID of the VPC to which the instance is linked.
public DetachClassicLinkVpcRequest withVpcId(java.lang.String vpcId)
The ID of the VPC to which the instance is linked.
vpcId
- The ID of the VPC to which the instance is linked.public Request<DetachClassicLinkVpcRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DetachClassicLinkVpcRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public DetachClassicLinkVpcRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()