|
|||||||
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.DeleteSubnetRequest
public class DeleteSubnetRequest
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.
AmazonEC2.deleteSubnet(DeleteSubnetRequest)
Constructor Summary | |
---|---|
DeleteSubnetRequest()
Default constructor for a new DeleteSubnetRequest object. |
|
DeleteSubnetRequest(String subnetId)
Constructs a new DeleteSubnetRequest object. |
Method Summary | |
---|---|
String |
getSubnetId()
|
void |
setSubnetId(String subnetId)
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteSubnetRequest |
withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteSubnetRequest()
public DeleteSubnetRequest(String subnetId)
subnetId
- Method Detail |
---|
public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- public DeleteSubnetRequest withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
-
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 |