|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeleteVpcRequest
public class DeleteVpcRequest
Container for the parameters to the DeleteVpc operation
.
Deletes the specified VPC. You must detach or delete all gateways and resources that are associated with the VPC before you can delete it. For example, you must terminate all instances running in the VPC, delete all security groups associated with the VPC (except the default one), delete all route tables associated with the VPC (except the default one), and so on.
AmazonEC2.deleteVpc(DeleteVpcRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteVpcRequest()
Default constructor for a new DeleteVpcRequest object. |
|
DeleteVpcRequest(java.lang.String vpcId)
Constructs a new DeleteVpcRequest object. |
Method Summary | |
---|---|
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. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteVpcRequest()
public DeleteVpcRequest(java.lang.String vpcId)
vpcId
- The ID of the VPC.Method Detail |
---|
public java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId
- The ID of the VPC.public DeleteVpcRequest withVpcId(java.lang.String vpcId)
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |