@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, setSdkResponseMetadata
public 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
.SnapshotLifecycle
public 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
.SnapshotLifecycle
public 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
.SnapshotLifecycle
public 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
.SnapshotLifecycle
public String toString()
toString
in class Object
Object.toString()
public DeleteSnapshotResult clone()