@Generated(value="software.amazon.awssdk:codegen") public final class RestoreStatus extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(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.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String status()
The status of the restore action. Returns starting, restoring, completed, or failed.
public final Double currentRestoreRateInMegaBytesPerSecond()
The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup. This field is only updated when you restore to DC2 and DS2 node types.
public final Long snapshotSizeInMegaBytes()
The size of the set of snapshot data used to restore the cluster. This field is only updated when you restore to DC2 and DS2 node types.
public final Long progressInMegaBytes()
The number of megabytes that have been transferred from snapshot storage. This field is only updated when you restore to DC2 and DS2 node types.
public final 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. This field is only updated when you restore to DC2 and DS2 node types.
public final Long estimatedTimeToCompletionInSeconds()
The estimate of the time remaining before the restore will complete. Returns 0 for a completed restore. This field is only updated when you restore to DC2 and DS2 node types.
public RestoreStatus.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RestoreStatus.Builder,RestoreStatus>public static RestoreStatus.Builder builder()
public static Class<? extends RestoreStatus.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.