@Generated(value="software.amazon.awssdk:codegen") public class RestoreStatus extends Object implements ToCopyableBuilder<RestoreStatus.Builder,RestoreStatus>
Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.
Modifier and Type | Class and Description |
---|---|
static interface |
RestoreStatus.Builder |
Modifier and Type | Method and Description |
---|---|
static RestoreStatus.Builder |
builder() |
Double |
currentRestoreRateInMegaBytesPerSecond()
The number of megabytes per second being transferred from the backup storage.
|
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.
|
boolean |
equals(Object obj) |
Long |
estimatedTimeToCompletionInSeconds()
The estimate of the time remaining before the restore will complete.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
progressInMegaBytes()
The number of megabytes that have been transferred from snapshot storage.
|
static Class<? extends RestoreStatus.Builder> |
serializableBuilderClass() |
Long |
snapshotSizeInMegaBytes()
The size of the set of snapshot data used to restore the cluster.
|
String |
status()
The status of the restore action.
|
RestoreStatus.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String status()
The status of the restore action. Returns starting, restoring, completed, or failed.
public Double currentRestoreRateInMegaBytesPerSecond()
The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup.
public Long snapshotSizeInMegaBytes()
The size of the set of snapshot data used to restore the cluster.
public Long progressInMegaBytes()
The number of megabytes that have been transferred from snapshot storage.
public 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.
public Long estimatedTimeToCompletionInSeconds()
The estimate of the time remaining before the restore will complete. Returns 0 for a completed restore.
public RestoreStatus.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<RestoreStatus.Builder,RestoreStatus>
public static RestoreStatus.Builder builder()
public static Class<? extends RestoreStatus.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.