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.

DescribeRestoreJobOutput

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

type DescribeRestoreJobOutput struct { BackupSizeInBytes *int64 `type:"long"` CompletionDate *time.Time `type:"timestamp"` CreatedResourceArn *string `type:"string"` CreationDate *time.Time `type:"timestamp"` ExpectedCompletionTimeMinutes *int64 `type:"long"` IamRoleArn *string `type:"string"` PercentDone *string `type:"string"` RecoveryPointArn *string `type:"string"` RestoreJobId *string `type:"string"` Status *string `type:"string" enum:"RestoreJobStatus"` StatusMessage *string `type:"string"` }

BackupSizeInBytes

Type: *int64

The size, in bytes, of the restored resource.

CompletionDate

Type: *time.Time

The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

CreatedResourceArn

Type: *string

An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.

CreationDate

Type: *time.Time

The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

ExpectedCompletionTimeMinutes

Type: *int64

The amount of time in minutes that a job restoring a recovery point is expected to take.

IamRoleArn

Type: *string

Specifies the IAM role ARN used to create the target recovery point; for example, arn:aws:iam::123456789012:role/S3Access.

PercentDone

Type: *string

Contains an estimated percentage that is complete of a job at the time the job status was queried.

RecoveryPointArn

Type: *string

An ARN that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

RestoreJobId

Type: *string

Uniquely identifies the job that restores a recovery point.

Status

Type: *string

Status code specifying the state of the job that is initiated by AWS Backup to restore a recovery point.

StatusMessage

Type: *string

A detailed message explaining the status of a job to restore a recovery point.

Method

GoString

func (s DescribeRestoreJobOutput) GoString() string

GoString returns the string representation

SetBackupSizeInBytes

func (s *DescribeRestoreJobOutput) SetBackupSizeInBytes(v int64) *DescribeRestoreJobOutput

SetBackupSizeInBytes sets the BackupSizeInBytes field's value.

SetCompletionDate

func (s *DescribeRestoreJobOutput) SetCompletionDate(v time.Time) *DescribeRestoreJobOutput

SetCompletionDate sets the CompletionDate field's value.

SetCreatedResourceArn

func (s *DescribeRestoreJobOutput) SetCreatedResourceArn(v string) *DescribeRestoreJobOutput

SetCreatedResourceArn sets the CreatedResourceArn field's value.

SetCreationDate

func (s *DescribeRestoreJobOutput) SetCreationDate(v time.Time) *DescribeRestoreJobOutput

SetCreationDate sets the CreationDate field's value.

SetExpectedCompletionTimeMinutes

func (s *DescribeRestoreJobOutput) SetExpectedCompletionTimeMinutes(v int64) *DescribeRestoreJobOutput

SetExpectedCompletionTimeMinutes sets the ExpectedCompletionTimeMinutes field's value.

SetIamRoleArn

func (s *DescribeRestoreJobOutput) SetIamRoleArn(v string) *DescribeRestoreJobOutput

SetIamRoleArn sets the IamRoleArn field's value.

SetPercentDone

func (s *DescribeRestoreJobOutput) SetPercentDone(v string) *DescribeRestoreJobOutput

SetPercentDone sets the PercentDone field's value.

SetRecoveryPointArn

func (s *DescribeRestoreJobOutput) SetRecoveryPointArn(v string) *DescribeRestoreJobOutput

SetRecoveryPointArn sets the RecoveryPointArn field's value.

SetRestoreJobId

func (s *DescribeRestoreJobOutput) SetRestoreJobId(v string) *DescribeRestoreJobOutput

SetRestoreJobId sets the RestoreJobId field's value.

SetStatus

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

SetStatus sets the Status field's value.

SetStatusMessage

func (s *DescribeRestoreJobOutput) SetStatusMessage(v string) *DescribeRestoreJobOutput

SetStatusMessage sets the StatusMessage field's value.

String

func (s DescribeRestoreJobOutput) String() string

String returns the string representation

On this page: