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.

CreateBackupPlanInput

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

type CreateBackupPlanInput struct { BackupPlan *PlanInput `type:"structure" required:"true"` BackupPlanTags map[string]*string `type:"map" sensitive:"true"` CreatorRequestId *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.

BackupPlanTags

Type: map[string]*string

To help organize your resources, you can assign your own metadata to the resources that you create. Each tag is a key-value pair. The specified tags are assigned to all backups created with this plan.

CreatorRequestId

Type: *string

Identifies the request and allows failed requests to be retried without the risk of executing the operation twice. If the request includes a CreatorRequestId that matches an existing backup plan, that plan is returned. This parameter is optional.

Method

GoString

func (s CreateBackupPlanInput) GoString() string

GoString returns the string representation

SetBackupPlan

func (s *CreateBackupPlanInput) SetBackupPlan(v *PlanInput) *CreateBackupPlanInput

SetBackupPlan sets the BackupPlan field's value.

SetBackupPlanTags

func (s *CreateBackupPlanInput) SetBackupPlanTags(v map[string]*string) *CreateBackupPlanInput

SetBackupPlanTags sets the BackupPlanTags field's value.

SetCreatorRequestId

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

SetCreatorRequestId sets the CreatorRequestId field's value.

String

func (s CreateBackupPlanInput) String() string

String returns the string representation

Validate

func (s *CreateBackupPlanInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: