@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachClassicLinkVpcRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<DetachClassicLinkVpcRequest>
NOOP
Constructor and Description |
---|
DetachClassicLinkVpcRequest() |
Modifier and Type | Method and Description |
---|---|
DetachClassicLinkVpcRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<DetachClassicLinkVpcRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getInstanceId()
The ID of the instance to unlink from the VPC.
|
String |
getVpcId()
The ID of the VPC to which the instance is linked.
|
int |
hashCode() |
void |
setInstanceId(String instanceId)
The ID of the instance to unlink from the VPC.
|
void |
setVpcId(String vpcId)
The ID of the VPC to which the instance is linked.
|
String |
toString()
Returns a string representation of this object.
|
DetachClassicLinkVpcRequest |
withInstanceId(String instanceId)
The ID of the instance to unlink from the VPC.
|
DetachClassicLinkVpcRequest |
withVpcId(String vpcId)
The ID of the VPC to which the instance is linked.
|
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 setInstanceId(String instanceId)
The ID of the instance to unlink from the VPC.
instanceId
- The ID of the instance to unlink from the VPC.public String getInstanceId()
The ID of the instance to unlink from the VPC.
public DetachClassicLinkVpcRequest withInstanceId(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(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 String getVpcId()
The ID of the VPC to which the instance is linked.
public DetachClassicLinkVpcRequest withVpcId(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 String toString()
toString
in class Object
Object.toString()
public DetachClassicLinkVpcRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()