|
|||||||
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.DeleteSnapshotRequest
public class DeleteSnapshotRequest
Container for the parameters to the DeleteSnapshot operation
.
Deletes the snapshot identified by snapshotId
.
AmazonEC2.deleteSnapshot(DeleteSnapshotRequest)
Constructor Summary | |
---|---|
DeleteSnapshotRequest()
Default constructor for a new DeleteSnapshotRequest object. |
|
DeleteSnapshotRequest(String snapshotId)
Constructs a new DeleteSnapshotRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getSnapshotId()
The ID of the snapshot to delete. |
int |
hashCode()
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot to delete. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DeleteSnapshotRequest |
withSnapshotId(String snapshotId)
The ID of the snapshot 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 DeleteSnapshotRequest()
public DeleteSnapshotRequest(String snapshotId)
snapshotId
- The ID of the snapshot to delete.Method Detail |
---|
public String getSnapshotId()
public void setSnapshotId(String snapshotId)
snapshotId
- The ID of the snapshot to delete.public DeleteSnapshotRequest withSnapshotId(String snapshotId)
Returns a reference to this object so that method calls can be chained together.
snapshotId
- The ID of the snapshot 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 |