com.amazonaws.services.ec2.model
Class DeleteVpcRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeleteVpcRequest
public class DeleteVpcRequest
- extends AmazonWebServiceRequest
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.
- See Also:
AmazonEC2.deleteVpc(DeleteVpcRequest)
DeleteVpcRequest
public DeleteVpcRequest()
getVpcId
public String getVpcId()
- Returns:
setVpcId
public void setVpcId(String vpcId)
- Parameters:
vpcId -
withVpcId
public DeleteVpcRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
- Parameters:
vpcId -
- Returns:
- A reference to this updated object so that method calls can be chained
together.
toString
public String toString()
- Returns a string representation of this object; useful for testing and
debugging.
- Overrides:
toString in class Object
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.