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.

GetBackupPlanOutput

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

type GetBackupPlanOutput struct { BackupPlan *Plan `type:"structure"` BackupPlanArn *string `type:"string"` BackupPlanId *string `type:"string"` CreationDate *time.Time `type:"timestamp"` CreatorRequestId *string `type:"string"` DeletionDate *time.Time `type:"timestamp"` LastExecutionDate *time.Time `type:"timestamp"` VersionId *string `type:"string"` }

BackupPlan

Contains an optional backup plan display name and an array of BackupRule objects, each of which specifies a backup rule. Each rule in a backup plan is a separate scheduled task and can back up a different selection of AWS resources.

BackupPlanArn

Type: *string

An Amazon Resource Name (ARN) that uniquely identifies a backup plan; for example, arn:aws:backup:us-east-1:123456789012:plan:8F81F553-3A74-4A3F-B93D-B3360DC80C50.

BackupPlanId

Type: *string

Uniquely identifies a backup plan.

CreationDate

Type: *time.Time

The date and time that a backup plan 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.

CreatorRequestId

Type: *string

A unique string that identifies the request and allows failed requests to be retried without the risk of executing the operation twice.

DeletionDate

Type: *time.Time

The date and time that a backup plan is deleted, 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.

LastExecutionDate

Type: *time.Time

The last time a job to back up resources was executed with this backup plan. A date and time, in Unix format and Coordinated Universal Time (UTC). The value of LastExecutionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

VersionId

Type: *string

Unique, randomly generated, Unicode, UTF-8 encoded strings that are at most 1,024 bytes long. Version IDs cannot be edited.

Method

GoString

func (s GetBackupPlanOutput) GoString() string

GoString returns the string representation

SetBackupPlan

func (s *GetBackupPlanOutput) SetBackupPlan(v *Plan) *GetBackupPlanOutput

SetBackupPlan sets the BackupPlan field's value.

SetBackupPlanArn

func (s *GetBackupPlanOutput) SetBackupPlanArn(v string) *GetBackupPlanOutput

SetBackupPlanArn sets the BackupPlanArn field's value.

SetBackupPlanId

func (s *GetBackupPlanOutput) SetBackupPlanId(v string) *GetBackupPlanOutput

SetBackupPlanId sets the BackupPlanId field's value.

SetCreationDate

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

SetCreationDate sets the CreationDate field's value.

SetCreatorRequestId

func (s *GetBackupPlanOutput) SetCreatorRequestId(v string) *GetBackupPlanOutput

SetCreatorRequestId sets the CreatorRequestId field's value.

SetDeletionDate

func (s *GetBackupPlanOutput) SetDeletionDate(v time.Time) *GetBackupPlanOutput

SetDeletionDate sets the DeletionDate field's value.

SetLastExecutionDate

func (s *GetBackupPlanOutput) SetLastExecutionDate(v time.Time) *GetBackupPlanOutput

SetLastExecutionDate sets the LastExecutionDate field's value.

SetVersionId

func (s *GetBackupPlanOutput) SetVersionId(v string) *GetBackupPlanOutput

SetVersionId sets the VersionId field's value.

String

func (s GetBackupPlanOutput) String() string

String returns the string representation

On this page: