|
|||||||
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 terminate all running instances and delete all subnets before deleting the VPC, otherwise Amazon VPC returns an error.
AmazonEC2.deleteVpc(DeleteVpcRequest)
Constructor Summary | |
---|---|
DeleteVpcRequest()
Default constructor for a new DeleteVpcRequest object. |
|
DeleteVpcRequest(String vpcId)
Constructs a new DeleteVpcRequest object. |
Method Summary | |
---|---|
String |
getVpcId()
|
void |
setVpcId(String vpcId)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteVpcRequest |
withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteVpcRequest()
public DeleteVpcRequest(String vpcId)
vpcId
- Method Detail |
---|
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- public DeleteVpcRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
-
public String toString()
toString
in class Object
Object.toString()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |