|
|||||||
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(java.lang.String subnetId)
Constructs a new DeleteSubnetRequest object. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
Request<DeleteSubnetRequest> |
getDryRunRequest()
This method is intended for internal use only. |
java.lang.String |
getSubnetId()
The ID of the subnet. |
int |
hashCode()
|
void |
setSubnetId(java.lang.String subnetId)
The ID of the subnet. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteSubnetRequest |
withSubnetId(java.lang.String subnetId)
The ID of the subnet. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteSubnetRequest()
public DeleteSubnetRequest(java.lang.String subnetId)
subnetId
- The ID of the subnet.Method Detail |
---|
public java.lang.String getSubnetId()
public void setSubnetId(java.lang.String subnetId)
subnetId
- The ID of the subnet.public DeleteSubnetRequest withSubnetId(java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |