|
||||||||||
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 the specified subnet. You must terminate all running instances in the subnet before you can delete the subnet.
AmazonEC2.deleteSubnet(DeleteSubnetRequest)
,
Serialized FormConstructor 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. |
int |
hashCode()
|
void |
setSubnetId(String subnetId)
The ID of the subnet. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteSubnetRequest |
withSubnetId(String subnetId)
The ID of the subnet. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteSubnetRequest()
public DeleteSubnetRequest(String subnetId)
subnetId
- The ID of the subnet.Method Detail |
---|
public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- The ID of the subnet.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.
public Request<DeleteSubnetRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<DeleteSubnetRequest>
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |