|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.redshift.model.RestoreStatus
public class RestoreStatus
Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.
Constructor Summary | |
---|---|
RestoreStatus()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Double |
getCurrentRestoreRateInMegaBytesPerSecond()
The number of megabytes per second being transferred from the backup storage. |
Long |
getElapsedTimeInSeconds()
The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish. |
Long |
getEstimatedTimeToCompletionInSeconds()
The estimate of the time remaining before the restore will complete. |
Long |
getProgressInMegaBytes()
The number of megabytes that have been transferred from snapshot storage. |
Long |
getSnapshotSizeInMegaBytes()
The size of the set of snapshot data used to restore the cluster. |
String |
getStatus()
The status of the restore action. |
int |
hashCode()
|
void |
setCurrentRestoreRateInMegaBytesPerSecond(Double currentRestoreRateInMegaBytesPerSecond)
The number of megabytes per second being transferred from the backup storage. |
void |
setElapsedTimeInSeconds(Long elapsedTimeInSeconds)
The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish. |
void |
setEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)
The estimate of the time remaining before the restore will complete. |
void |
setProgressInMegaBytes(Long progressInMegaBytes)
The number of megabytes that have been transferred from snapshot storage. |
void |
setSnapshotSizeInMegaBytes(Long snapshotSizeInMegaBytes)
The size of the set of snapshot data used to restore the cluster. |
void |
setStatus(String status)
The status of the restore action. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RestoreStatus |
withCurrentRestoreRateInMegaBytesPerSecond(Double currentRestoreRateInMegaBytesPerSecond)
The number of megabytes per second being transferred from the backup storage. |
RestoreStatus |
withElapsedTimeInSeconds(Long elapsedTimeInSeconds)
The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish. |
RestoreStatus |
withEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)
The estimate of the time remaining before the restore will complete. |
RestoreStatus |
withProgressInMegaBytes(Long progressInMegaBytes)
The number of megabytes that have been transferred from snapshot storage. |
RestoreStatus |
withSnapshotSizeInMegaBytes(Long snapshotSizeInMegaBytes)
The size of the set of snapshot data used to restore the cluster. |
RestoreStatus |
withStatus(String status)
The status of the restore action. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RestoreStatus()
Method Detail |
---|
public String getStatus()
public void setStatus(String status)
status
- The status of the restore action. Returns starting, restoring,
completed, or failed.public RestoreStatus withStatus(String status)
Returns a reference to this object so that method calls can be chained together.
status
- The status of the restore action. Returns starting, restoring,
completed, or failed.
public Double getCurrentRestoreRateInMegaBytesPerSecond()
public void setCurrentRestoreRateInMegaBytesPerSecond(Double currentRestoreRateInMegaBytesPerSecond)
currentRestoreRateInMegaBytesPerSecond
- The number of megabytes per second being transferred from the backup
storage. Returns the average rate for a completed backup.public RestoreStatus withCurrentRestoreRateInMegaBytesPerSecond(Double currentRestoreRateInMegaBytesPerSecond)
Returns a reference to this object so that method calls can be chained together.
currentRestoreRateInMegaBytesPerSecond
- The number of megabytes per second being transferred from the backup
storage. Returns the average rate for a completed backup.
public Long getSnapshotSizeInMegaBytes()
public void setSnapshotSizeInMegaBytes(Long snapshotSizeInMegaBytes)
snapshotSizeInMegaBytes
- The size of the set of snapshot data used to restore the cluster.public RestoreStatus withSnapshotSizeInMegaBytes(Long snapshotSizeInMegaBytes)
Returns a reference to this object so that method calls can be chained together.
snapshotSizeInMegaBytes
- The size of the set of snapshot data used to restore the cluster.
public Long getProgressInMegaBytes()
public void setProgressInMegaBytes(Long progressInMegaBytes)
progressInMegaBytes
- The number of megabytes that have been transferred from snapshot
storage.public RestoreStatus withProgressInMegaBytes(Long progressInMegaBytes)
Returns a reference to this object so that method calls can be chained together.
progressInMegaBytes
- The number of megabytes that have been transferred from snapshot
storage.
public Long getElapsedTimeInSeconds()
public void setElapsedTimeInSeconds(Long elapsedTimeInSeconds)
elapsedTimeInSeconds
- The amount of time an in-progress restore has been running, or the
amount of time it took a completed restore to finish.public RestoreStatus withElapsedTimeInSeconds(Long elapsedTimeInSeconds)
Returns a reference to this object so that method calls can be chained together.
elapsedTimeInSeconds
- The amount of time an in-progress restore has been running, or the
amount of time it took a completed restore to finish.
public Long getEstimatedTimeToCompletionInSeconds()
public void setEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)
estimatedTimeToCompletionInSeconds
- The estimate of the time remaining before the restore will complete.
Returns 0 for a completed restore.public RestoreStatus withEstimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)
Returns a reference to this object so that method calls can be chained together.
estimatedTimeToCompletionInSeconds
- The estimate of the time remaining before the restore will complete.
Returns 0 for a completed restore.
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 |