Interface RestoreStatus.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<RestoreStatus.Builder,RestoreStatus>
,SdkBuilder<RestoreStatus.Builder,RestoreStatus>
,SdkPojo
- Enclosing class:
- RestoreStatus
public static interface RestoreStatus.Builder extends SdkPojo, CopyableBuilder<RestoreStatus.Builder,RestoreStatus>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RestoreStatus.Builder
currentRestoreRateInMegaBytesPerSecond(Double currentRestoreRateInMegaBytesPerSecond)
The number of megabytes per second being transferred from the backup storage.RestoreStatus.Builder
elapsedTimeInSeconds(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.RestoreStatus.Builder
estimatedTimeToCompletionInSeconds(Long estimatedTimeToCompletionInSeconds)
The estimate of the time remaining before the restore will complete.RestoreStatus.Builder
progressInMegaBytes(Long progressInMegaBytes)
The number of megabytes that have been transferred from snapshot storage.RestoreStatus.Builder
snapshotSizeInMegaBytes(Long snapshotSizeInMegaBytes)
The size of the set of snapshot data used to restore the cluster.RestoreStatus.Builder
status(String status)
The status of the restore action.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
status
RestoreStatus.Builder status(String status)
The status of the restore action. Returns starting, restoring, completed, or failed.
- Parameters:
status
- The status of the restore action. Returns starting, restoring, completed, or failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentRestoreRateInMegaBytesPerSecond
RestoreStatus.Builder currentRestoreRateInMegaBytesPerSecond(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 node types.
- Parameters:
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 node types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snapshotSizeInMegaBytes
RestoreStatus.Builder snapshotSizeInMegaBytes(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 node types.
- Parameters:
snapshotSizeInMegaBytes
- The size of the set of snapshot data used to restore the cluster. This field is only updated when you restore to DC2 node types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
progressInMegaBytes
RestoreStatus.Builder progressInMegaBytes(Long progressInMegaBytes)
The number of megabytes that have been transferred from snapshot storage. This field is only updated when you restore to DC2 node types.
- Parameters:
progressInMegaBytes
- The number of megabytes that have been transferred from snapshot storage. This field is only updated when you restore to DC2 node types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
elapsedTimeInSeconds
RestoreStatus.Builder elapsedTimeInSeconds(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 node types.
- Parameters:
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 node types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
estimatedTimeToCompletionInSeconds
RestoreStatus.Builder estimatedTimeToCompletionInSeconds(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 node types.
- Parameters:
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 node types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-