@Generated(value="software.amazon.awssdk:codegen") public final class AwsRedshiftClusterRestoreStatus extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsRedshiftClusterRestoreStatus.Builder,AwsRedshiftClusterRestoreStatus>
Information about the status of a cluster restore action. It only applies if the cluster was created by restoring a snapshot.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AwsRedshiftClusterRestoreStatus.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AwsRedshiftClusterRestoreStatus.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 is complete.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Long |
progressInMegaBytes()
The number of megabytes that were transferred from snapshot storage.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AwsRedshiftClusterRestoreStatus.Builder> |
serializableBuilderClass() |
Long |
snapshotSizeInMegaBytes()
The size of the set of snapshot data that was used to restore the cluster.
|
String |
status()
The status of the restore action.
|
AwsRedshiftClusterRestoreStatus.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
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.
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 is complete. Returns 0 for a completed restore.
This field is only updated when you restore to DC2 and DS2 node types.
This field is only updated when you restore to DC2 and DS2 node types.
public final Long progressInMegaBytes()
The number of megabytes that were transferred from snapshot storage.
This field is only updated when you restore to DC2 and DS2 node types.
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 that was used to restore the cluster.
This field is only updated when you restore to DC2 and DS2 node types.
This field is only updated when you restore to DC2 and DS2 node types.
public final String status()
The status of the restore action.
Valid values: starting | restoring | completed | failed
Valid values: starting | restoring | completed |
failed
public AwsRedshiftClusterRestoreStatus.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AwsRedshiftClusterRestoreStatus.Builder,AwsRedshiftClusterRestoreStatus>public static AwsRedshiftClusterRestoreStatus.Builder builder()
public static Class<? extends AwsRedshiftClusterRestoreStatus.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.