Class AwsRedshiftClusterRestoreStatus
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.AwsRedshiftClusterRestoreStatus
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AwsRedshiftClusterRestoreStatus.Builder,AwsRedshiftClusterRestoreStatus>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsRedshiftClusterRestoreStatus.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsRedshiftClusterRestoreStatus.Builderbuilder()DoublecurrentRestoreRateInMegaBytesPerSecond()The number of megabytes per second being transferred from the backup storage.LongelapsedTimeInSeconds()The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)LongestimatedTimeToCompletionInSeconds()The estimate of the time remaining before the restore is complete.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongprogressInMegaBytes()The number of megabytes that were transferred from snapshot storage.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsRedshiftClusterRestoreStatus.Builder>serializableBuilderClass()LongsnapshotSizeInMegaBytes()The size of the set of snapshot data that was used to restore the cluster.Stringstatus()The status of the restore action.AwsRedshiftClusterRestoreStatus.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
currentRestoreRateInMegaBytesPerSecond
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.
- Returns:
- 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.
-
elapsedTimeInSeconds
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.
- Returns:
- 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.
-
estimatedTimeToCompletionInSeconds
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.
- Returns:
- 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.
-
progressInMegaBytes
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.
- Returns:
- The number of megabytes that were transferred from snapshot storage.
This field is only updated when you restore to DC2 and DS2 node types.
-
snapshotSizeInMegaBytes
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.
- Returns:
- 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.
-
status
public final String status()
The status of the restore action.
Valid values:
starting|restoring|completed|failed- Returns:
- The status of the restore action.
Valid values:
starting|restoring|completed|failed
-
toBuilder
public AwsRedshiftClusterRestoreStatus.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsRedshiftClusterRestoreStatus.Builder,AwsRedshiftClusterRestoreStatus>
-
builder
public static AwsRedshiftClusterRestoreStatus.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsRedshiftClusterRestoreStatus.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-