|
|||||||
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.DeleteVolumeRequest
public class DeleteVolumeRequest
Container for the parameters to the DeleteVolume operation
.
Deletes a previously created volume. Once successfully deleted, a new volume can be created with the same name.
AmazonEC2.deleteVolume(DeleteVolumeRequest)
Constructor Summary | |
---|---|
DeleteVolumeRequest()
Default constructor for a new DeleteVolumeRequest object. |
|
DeleteVolumeRequest(String volumeId)
Constructs a new DeleteVolumeRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getVolumeId()
The ID of the EBS volume to delete. |
int |
hashCode()
|
void |
setVolumeId(String volumeId)
The ID of the EBS volume to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteVolumeRequest |
withVolumeId(String volumeId)
The ID of the EBS volume to delete. |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DeleteVolumeRequest()
public DeleteVolumeRequest(String volumeId)
volumeId
- The ID of the EBS volume to delete.Method Detail |
---|
public String getVolumeId()
public void setVolumeId(String volumeId)
volumeId
- The ID of the EBS volume to delete.public DeleteVolumeRequest withVolumeId(String volumeId)
Returns a reference to this object so that method calls can be chained together.
volumeId
- The ID of the EBS volume to delete.
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 |