@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotRecycleBinInfo extends Object implements Serializable, Cloneable
Information about a snapshot that is currently in the Recycle Bin.
Constructor and Description |
---|
SnapshotRecycleBinInfo() |
Modifier and Type | Method and Description |
---|---|
SnapshotRecycleBinInfo |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
The description for the snapshot.
|
Date |
getRecycleBinEnterTime()
The date and time when the snaphsot entered the Recycle Bin.
|
Date |
getRecycleBinExitTime()
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
|
String |
getSnapshotId()
The ID of the snapshot.
|
String |
getVolumeId()
The ID of the volume from which the snapshot was created.
|
int |
hashCode() |
void |
setDescription(String description)
The description for the snapshot.
|
void |
setRecycleBinEnterTime(Date recycleBinEnterTime)
The date and time when the snaphsot entered the Recycle Bin.
|
void |
setRecycleBinExitTime(Date recycleBinExitTime)
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
void |
setVolumeId(String volumeId)
The ID of the volume from which the snapshot was created.
|
String |
toString()
Returns a string representation of this object.
|
SnapshotRecycleBinInfo |
withDescription(String description)
The description for the snapshot.
|
SnapshotRecycleBinInfo |
withRecycleBinEnterTime(Date recycleBinEnterTime)
The date and time when the snaphsot entered the Recycle Bin.
|
SnapshotRecycleBinInfo |
withRecycleBinExitTime(Date recycleBinExitTime)
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
|
SnapshotRecycleBinInfo |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
SnapshotRecycleBinInfo |
withVolumeId(String volumeId)
The ID of the volume from which the snapshot was created.
|
public void setSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public String getSnapshotId()
The ID of the snapshot.
public SnapshotRecycleBinInfo withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of the snapshot.public void setRecycleBinEnterTime(Date recycleBinEnterTime)
The date and time when the snaphsot entered the Recycle Bin.
recycleBinEnterTime
- The date and time when the snaphsot entered the Recycle Bin.public Date getRecycleBinEnterTime()
The date and time when the snaphsot entered the Recycle Bin.
public SnapshotRecycleBinInfo withRecycleBinEnterTime(Date recycleBinEnterTime)
The date and time when the snaphsot entered the Recycle Bin.
recycleBinEnterTime
- The date and time when the snaphsot entered the Recycle Bin.public void setRecycleBinExitTime(Date recycleBinExitTime)
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
recycleBinExitTime
- The date and time when the snapshot is to be permanently deleted from the Recycle Bin.public Date getRecycleBinExitTime()
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
public SnapshotRecycleBinInfo withRecycleBinExitTime(Date recycleBinExitTime)
The date and time when the snapshot is to be permanently deleted from the Recycle Bin.
recycleBinExitTime
- The date and time when the snapshot is to be permanently deleted from the Recycle Bin.public void setDescription(String description)
The description for the snapshot.
description
- The description for the snapshot.public String getDescription()
The description for the snapshot.
public SnapshotRecycleBinInfo withDescription(String description)
The description for the snapshot.
description
- The description for the snapshot.public void setVolumeId(String volumeId)
The ID of the volume from which the snapshot was created.
volumeId
- The ID of the volume from which the snapshot was created.public String getVolumeId()
The ID of the volume from which the snapshot was created.
public SnapshotRecycleBinInfo withVolumeId(String volumeId)
The ID of the volume from which the snapshot was created.
volumeId
- The ID of the volume from which the snapshot was created.public String toString()
toString
in class Object
Object.toString()
public SnapshotRecycleBinInfo clone()