Interface AwsRedshiftClusterRestoreStatus.Builder

All Superinterfaces:
Buildable, CopyableBuilder<AwsRedshiftClusterRestoreStatus.Builder,AwsRedshiftClusterRestoreStatus>, SdkBuilder<AwsRedshiftClusterRestoreStatus.Builder,AwsRedshiftClusterRestoreStatus>, SdkPojo
Enclosing class:
AwsRedshiftClusterRestoreStatus

public static interface AwsRedshiftClusterRestoreStatus.Builder extends SdkPojo, CopyableBuilder<AwsRedshiftClusterRestoreStatus.Builder,AwsRedshiftClusterRestoreStatus>
  • Method Details

    • currentRestoreRateInMegaBytesPerSecond

      AwsRedshiftClusterRestoreStatus.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 and DS2 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 and DS2 node types.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • elapsedTimeInSeconds

      AwsRedshiftClusterRestoreStatus.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 and DS2 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 and DS2 node types.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • estimatedTimeToCompletionInSeconds

      AwsRedshiftClusterRestoreStatus.Builder estimatedTimeToCompletionInSeconds(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • progressInMegaBytes

      AwsRedshiftClusterRestoreStatus.Builder progressInMegaBytes(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • snapshotSizeInMegaBytes

      AwsRedshiftClusterRestoreStatus.Builder snapshotSizeInMegaBytes(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The status of the restore action.

      Valid values: starting | restoring | completed | failed

      Parameters:
      status - The status of the restore action.

      Valid values: starting | restoring | completed | failed

      Returns:
      Returns a reference to this object so that method calls can be chained together.