@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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
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.
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()
ToCopyableBuilder
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)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.