|
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.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),
Serialized Form| Constructor Summary | |
|---|---|
DeleteSubnetRequest()
Default constructor for a new DeleteSubnetRequest object. |
|
DeleteSubnetRequest(String subnetId)
Constructs a new DeleteSubnetRequest object. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
|
Request<DeleteSubnetRequest> |
getDryRunRequest()
This method is intended for internal use only. |
String |
getSubnetId()
The ID of the subnet you want to delete. |
int |
hashCode()
|
void |
setSubnetId(String subnetId)
The ID of the subnet you want to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteSubnetRequest |
withSubnetId(String subnetId)
The ID of the subnet 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 DeleteSubnetRequest()
public DeleteSubnetRequest(String subnetId)
subnetId - The ID of the subnet you want to delete.| Method Detail |
|---|
public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId - The ID of the subnet you want to delete.public DeleteSubnetRequest withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId - The ID of the subnet you want to delete.
public Request<DeleteSubnetRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteSubnetRequest>public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Object
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||