com.amazonaws.services.ec2.model
Class DeleteSubnetRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.DeleteSubnetRequest
public class DeleteSubnetRequest
- extends AmazonWebServiceRequest
Container for the parameters to the DeleteSubnet operation.
Deletes a subnet from a VPC. You must terminate all running instances
in the subnet before deleting it, otherwise Amazon VPC returns an
error.
- See Also:
AmazonEC2.deleteSubnet(DeleteSubnetRequest)
DeleteSubnetRequest
public DeleteSubnetRequest()
getSubnetId
public String getSubnetId()
- Returns:
setSubnetId
public void setSubnetId(String subnetId)
- Parameters:
subnetId -
withSubnetId
public DeleteSubnetRequest withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
- Parameters:
subnetId -
- 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.