@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SnapshotTierStatus extends Object implements Serializable, Cloneable
Provides information about a snapshot's storage tier.
Constructor and Description |
---|
SnapshotTierStatus() |
Modifier and Type | Method and Description |
---|---|
SnapshotTierStatus |
clone() |
boolean |
equals(Object obj) |
Date |
getArchivalCompleteTime()
The date and time when the last archive process was completed.
|
String |
getLastTieringOperationStatus()
The status of the last archive or restore process.
|
String |
getLastTieringOperationStatusDetail()
A message describing the status of the last archive or restore process.
|
Integer |
getLastTieringProgress()
The progress of the last archive or restore process, as a percentage.
|
Date |
getLastTieringStartTime()
The date and time when the last archive or restore process was started.
|
String |
getOwnerId()
The ID of the Amazon Web Services account that owns the snapshot.
|
Date |
getRestoreExpiryTime()
Only for archived snapshots that are temporarily restored.
|
String |
getSnapshotId()
The ID of the snapshot.
|
String |
getStatus()
The state of the snapshot.
|
String |
getStorageTier()
The storage tier in which the snapshot is stored.
|
List<Tag> |
getTags()
The tags that are assigned to the snapshot.
|
String |
getVolumeId()
The ID of the volume from which the snapshot was created.
|
int |
hashCode() |
void |
setArchivalCompleteTime(Date archivalCompleteTime)
The date and time when the last archive process was completed.
|
void |
setLastTieringOperationStatus(String lastTieringOperationStatus)
The status of the last archive or restore process.
|
void |
setLastTieringOperationStatusDetail(String lastTieringOperationStatusDetail)
A message describing the status of the last archive or restore process.
|
void |
setLastTieringProgress(Integer lastTieringProgress)
The progress of the last archive or restore process, as a percentage.
|
void |
setLastTieringStartTime(Date lastTieringStartTime)
The date and time when the last archive or restore process was started.
|
void |
setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the snapshot.
|
void |
setRestoreExpiryTime(Date restoreExpiryTime)
Only for archived snapshots that are temporarily restored.
|
void |
setSnapshotId(String snapshotId)
The ID of the snapshot.
|
void |
setStatus(String status)
The state of the snapshot.
|
void |
setStorageTier(String storageTier)
The storage tier in which the snapshot is stored.
|
void |
setTags(Collection<Tag> tags)
The tags that are assigned to 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.
|
SnapshotTierStatus |
withArchivalCompleteTime(Date archivalCompleteTime)
The date and time when the last archive process was completed.
|
SnapshotTierStatus |
withLastTieringOperationStatus(String lastTieringOperationStatus)
The status of the last archive or restore process.
|
SnapshotTierStatus |
withLastTieringOperationStatus(TieringOperationStatus lastTieringOperationStatus)
The status of the last archive or restore process.
|
SnapshotTierStatus |
withLastTieringOperationStatusDetail(String lastTieringOperationStatusDetail)
A message describing the status of the last archive or restore process.
|
SnapshotTierStatus |
withLastTieringProgress(Integer lastTieringProgress)
The progress of the last archive or restore process, as a percentage.
|
SnapshotTierStatus |
withLastTieringStartTime(Date lastTieringStartTime)
The date and time when the last archive or restore process was started.
|
SnapshotTierStatus |
withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the snapshot.
|
SnapshotTierStatus |
withRestoreExpiryTime(Date restoreExpiryTime)
Only for archived snapshots that are temporarily restored.
|
SnapshotTierStatus |
withSnapshotId(String snapshotId)
The ID of the snapshot.
|
SnapshotTierStatus |
withStatus(SnapshotState status)
The state of the snapshot.
|
SnapshotTierStatus |
withStatus(String status)
The state of the snapshot.
|
SnapshotTierStatus |
withStorageTier(StorageTier storageTier)
The storage tier in which the snapshot is stored.
|
SnapshotTierStatus |
withStorageTier(String storageTier)
The storage tier in which the snapshot is stored.
|
SnapshotTierStatus |
withTags(Collection<Tag> tags)
The tags that are assigned to the snapshot.
|
SnapshotTierStatus |
withTags(Tag... tags)
The tags that are assigned to the snapshot.
|
SnapshotTierStatus |
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 SnapshotTierStatus withSnapshotId(String snapshotId)
The ID of the snapshot.
snapshotId
- The ID of 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 SnapshotTierStatus 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 void setStatus(String status)
The state of the snapshot.
status
- The state of the snapshot.SnapshotState
public String getStatus()
The state of the snapshot.
SnapshotState
public SnapshotTierStatus withStatus(String status)
The state of the snapshot.
status
- The state of the snapshot.SnapshotState
public SnapshotTierStatus withStatus(SnapshotState status)
The state of the snapshot.
status
- The state of the snapshot.SnapshotState
public void setOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the snapshot.
ownerId
- The ID of the Amazon Web Services account that owns the snapshot.public String getOwnerId()
The ID of the Amazon Web Services account that owns the snapshot.
public SnapshotTierStatus withOwnerId(String ownerId)
The ID of the Amazon Web Services account that owns the snapshot.
ownerId
- The ID of the Amazon Web Services account that owns the snapshot.public List<Tag> getTags()
The tags that are assigned to the snapshot.
public void setTags(Collection<Tag> tags)
The tags that are assigned to the snapshot.
tags
- The tags that are assigned to the snapshot.public SnapshotTierStatus withTags(Tag... tags)
The tags that are assigned to the snapshot.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- The tags that are assigned to the snapshot.public SnapshotTierStatus withTags(Collection<Tag> tags)
The tags that are assigned to the snapshot.
tags
- The tags that are assigned to the snapshot.public void setStorageTier(String storageTier)
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in
the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot
is currently archived and that it must be restored before it can be used.
storageTier
- The storage tier in which the snapshot is stored. standard
indicates that the snapshot is
stored in the standard snapshot storage tier and that it is ready for use. archive
indicates
that the snapshot is currently archived and that it must be restored before it can be used.StorageTier
public String getStorageTier()
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in
the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot
is currently archived and that it must be restored before it can be used.
standard
indicates that the snapshot is
stored in the standard snapshot storage tier and that it is ready for use. archive
indicates
that the snapshot is currently archived and that it must be restored before it can be used.StorageTier
public SnapshotTierStatus withStorageTier(String storageTier)
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in
the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot
is currently archived and that it must be restored before it can be used.
storageTier
- The storage tier in which the snapshot is stored. standard
indicates that the snapshot is
stored in the standard snapshot storage tier and that it is ready for use. archive
indicates
that the snapshot is currently archived and that it must be restored before it can be used.StorageTier
public SnapshotTierStatus withStorageTier(StorageTier storageTier)
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in
the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot
is currently archived and that it must be restored before it can be used.
storageTier
- The storage tier in which the snapshot is stored. standard
indicates that the snapshot is
stored in the standard snapshot storage tier and that it is ready for use. archive
indicates
that the snapshot is currently archived and that it must be restored before it can be used.StorageTier
public void setLastTieringStartTime(Date lastTieringStartTime)
The date and time when the last archive or restore process was started.
lastTieringStartTime
- The date and time when the last archive or restore process was started.public Date getLastTieringStartTime()
The date and time when the last archive or restore process was started.
public SnapshotTierStatus withLastTieringStartTime(Date lastTieringStartTime)
The date and time when the last archive or restore process was started.
lastTieringStartTime
- The date and time when the last archive or restore process was started.public void setLastTieringProgress(Integer lastTieringProgress)
The progress of the last archive or restore process, as a percentage.
lastTieringProgress
- The progress of the last archive or restore process, as a percentage.public Integer getLastTieringProgress()
The progress of the last archive or restore process, as a percentage.
public SnapshotTierStatus withLastTieringProgress(Integer lastTieringProgress)
The progress of the last archive or restore process, as a percentage.
lastTieringProgress
- The progress of the last archive or restore process, as a percentage.public void setLastTieringOperationStatus(String lastTieringOperationStatus)
The status of the last archive or restore process.
lastTieringOperationStatus
- The status of the last archive or restore process.TieringOperationStatus
public String getLastTieringOperationStatus()
The status of the last archive or restore process.
TieringOperationStatus
public SnapshotTierStatus withLastTieringOperationStatus(String lastTieringOperationStatus)
The status of the last archive or restore process.
lastTieringOperationStatus
- The status of the last archive or restore process.TieringOperationStatus
public SnapshotTierStatus withLastTieringOperationStatus(TieringOperationStatus lastTieringOperationStatus)
The status of the last archive or restore process.
lastTieringOperationStatus
- The status of the last archive or restore process.TieringOperationStatus
public void setLastTieringOperationStatusDetail(String lastTieringOperationStatusDetail)
A message describing the status of the last archive or restore process.
lastTieringOperationStatusDetail
- A message describing the status of the last archive or restore process.public String getLastTieringOperationStatusDetail()
A message describing the status of the last archive or restore process.
public SnapshotTierStatus withLastTieringOperationStatusDetail(String lastTieringOperationStatusDetail)
A message describing the status of the last archive or restore process.
lastTieringOperationStatusDetail
- A message describing the status of the last archive or restore process.public void setArchivalCompleteTime(Date archivalCompleteTime)
The date and time when the last archive process was completed.
archivalCompleteTime
- The date and time when the last archive process was completed.public Date getArchivalCompleteTime()
The date and time when the last archive process was completed.
public SnapshotTierStatus withArchivalCompleteTime(Date archivalCompleteTime)
The date and time when the last archive process was completed.
archivalCompleteTime
- The date and time when the last archive process was completed.public void setRestoreExpiryTime(Date restoreExpiryTime)
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
restoreExpiryTime
- Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily
restored snapshot will be automatically re-archived.public Date getRestoreExpiryTime()
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
public SnapshotTierStatus withRestoreExpiryTime(Date restoreExpiryTime)
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
restoreExpiryTime
- Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily
restored snapshot will be automatically re-archived.public String toString()
toString
in class Object
Object.toString()
public SnapshotTierStatus clone()