AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

RestoreStatus

import "github.com/aws/aws-sdk-go/service/redshift"

type RestoreStatus struct { CurrentRestoreRateInMegaBytesPerSecond *float64 `type:"double"` ElapsedTimeInSeconds *int64 `type:"long"` EstimatedTimeToCompletionInSeconds *int64 `type:"long"` ProgressInMegaBytes *int64 `type:"long"` SnapshotSizeInMegaBytes *int64 `type:"long"` Status *string `type:"string"` }

Describes the status of a cluster restore action. Returns null if the cluster was not created by restoring a snapshot.

CurrentRestoreRateInMegaBytesPerSecond

Type: *float64

The number of megabytes per second being transferred from the backup storage. Returns the average rate for a completed backup.

ElapsedTimeInSeconds

Type: *int64

The amount of time an in-progress restore has been running, or the amount of time it took a completed restore to finish.

EstimatedTimeToCompletionInSeconds

Type: *int64

The estimate of the time remaining before the restore will complete. Returns 0 for a completed restore.

ProgressInMegaBytes

Type: *int64

The number of megabytes that have been transferred from snapshot storage.

SnapshotSizeInMegaBytes

Type: *int64

The size of the set of snapshot data used to restore the cluster.

Status

Type: *string

The status of the restore action. Returns starting, restoring, completed, or failed.

Method

GoString

func (s RestoreStatus) GoString() string

GoString returns the string representation

SetCurrentRestoreRateInMegaBytesPerSecond

func (s *RestoreStatus) SetCurrentRestoreRateInMegaBytesPerSecond(v float64) *RestoreStatus

SetCurrentRestoreRateInMegaBytesPerSecond sets the CurrentRestoreRateInMegaBytesPerSecond field's value.

SetElapsedTimeInSeconds

func (s *RestoreStatus) SetElapsedTimeInSeconds(v int64) *RestoreStatus

SetElapsedTimeInSeconds sets the ElapsedTimeInSeconds field's value.

SetEstimatedTimeToCompletionInSeconds

func (s *RestoreStatus) SetEstimatedTimeToCompletionInSeconds(v int64) *RestoreStatus

SetEstimatedTimeToCompletionInSeconds sets the EstimatedTimeToCompletionInSeconds field's value.

SetProgressInMegaBytes

func (s *RestoreStatus) SetProgressInMegaBytes(v int64) *RestoreStatus

SetProgressInMegaBytes sets the ProgressInMegaBytes field's value.

SetSnapshotSizeInMegaBytes

func (s *RestoreStatus) SetSnapshotSizeInMegaBytes(v int64) *RestoreStatus

SetSnapshotSizeInMegaBytes sets the SnapshotSizeInMegaBytes field's value.

SetStatus

func (s *RestoreStatus) SetStatus(v string) *RestoreStatus

SetStatus sets the Status field's value.

String

func (s RestoreStatus) String() string

String returns the string representation

On this page: