@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteSnapshotResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
DeleteSnapshotResult() |
| Modifier and Type | Method and Description |
|---|---|
DeleteSnapshotResult |
clone() |
boolean |
equals(Object obj) |
String |
getLifecycle()
The lifecycle status of the snapshot.
|
String |
getSnapshotId()
The ID of the deleted snapshot.
|
int |
hashCode() |
void |
setLifecycle(String lifecycle)
The lifecycle status of the snapshot.
|
void |
setSnapshotId(String snapshotId)
The ID of the deleted snapshot.
|
String |
toString()
Returns a string representation of this object.
|
DeleteSnapshotResult |
withLifecycle(SnapshotLifecycle lifecycle)
The lifecycle status of the snapshot.
|
DeleteSnapshotResult |
withLifecycle(String lifecycle)
The lifecycle status of the snapshot.
|
DeleteSnapshotResult |
withSnapshotId(String snapshotId)
The ID of the deleted snapshot.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setSnapshotId(String snapshotId)
The ID of the deleted snapshot.
snapshotId - The ID of the deleted snapshot.public String getSnapshotId()
The ID of the deleted snapshot.
public DeleteSnapshotResult withSnapshotId(String snapshotId)
The ID of the deleted snapshot.
snapshotId - The ID of the deleted snapshot.public void setLifecycle(String lifecycle)
The lifecycle status of the snapshot. If the DeleteSnapshot operation is successful, this status is
DELETING.
lifecycle - The lifecycle status of the snapshot. If the DeleteSnapshot operation is successful, this
status is DELETING.SnapshotLifecyclepublic String getLifecycle()
The lifecycle status of the snapshot. If the DeleteSnapshot operation is successful, this status is
DELETING.
DeleteSnapshot operation is successful, this
status is DELETING.SnapshotLifecyclepublic DeleteSnapshotResult withLifecycle(String lifecycle)
The lifecycle status of the snapshot. If the DeleteSnapshot operation is successful, this status is
DELETING.
lifecycle - The lifecycle status of the snapshot. If the DeleteSnapshot operation is successful, this
status is DELETING.SnapshotLifecyclepublic DeleteSnapshotResult withLifecycle(SnapshotLifecycle lifecycle)
The lifecycle status of the snapshot. If the DeleteSnapshot operation is successful, this status is
DELETING.
lifecycle - The lifecycle status of the snapshot. If the DeleteSnapshot operation is successful, this
status is DELETING.SnapshotLifecyclepublic String toString()
toString in class ObjectObject.toString()public DeleteSnapshotResult clone()