|
Did this page help you?Yes No Tell us about it... |
||||||
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 a VPC. You must detach or delete all gateways or other objects that are dependent on the VPC first. For example, you must terminate all running instances, delete all VPC security groups (except the default), delete all the route tables (except the default), etc.
AmazonEC2.deleteVpc(DeleteVpcRequest)
,
Serialized FormConstructor Summary | |
---|---|
DeleteVpcRequest()
Default constructor for a new DeleteVpcRequest object. |
|
DeleteVpcRequest(String vpcId)
Constructs a new DeleteVpcRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getVpcId()
The ID of the VPC you want to delete. |
int |
hashCode()
|
void |
setVpcId(String vpcId)
The ID of the VPC you want to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteVpcRequest |
withVpcId(String vpcId)
The ID of the VPC you want to delete. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteVpcRequest()
public DeleteVpcRequest(String vpcId)
vpcId
- The ID of the VPC you want to delete.Method Detail |
---|
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC you want to delete.public DeleteVpcRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC you want to delete.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |