public class DeleteVpcRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<DeleteVpcRequest>
Contains the parameters for DeleteVpc.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
vpcId
The ID of the VPC.
|
NOOP
Constructor and Description |
---|
DeleteVpcRequest()
Default constructor for DeleteVpcRequest object.
|
DeleteVpcRequest(java.lang.String vpcId)
Constructs a new DeleteVpcRequest object.
|
Modifier and Type | Method and Description |
---|---|
DeleteVpcRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
Request<DeleteVpcRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteVpcRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
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
public DeleteVpcRequest()
public DeleteVpcRequest(java.lang.String vpcId)
vpcId
- The ID of the VPC.public void setVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public java.lang.String getVpcId()
The ID of the VPC.
public DeleteVpcRequest withVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public Request<DeleteVpcRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteVpcRequest>
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 DeleteVpcRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()