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.

PlanInput

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

type PlanInput struct { BackupPlanName *string `type:"string" required:"true"` Rules []*RuleInput `type:"list" required:"true"` }

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.

BackupPlanName

Type: *string

The display name of a backup plan.

BackupPlanName is a required field

Rules

Specifies a scheduled task used to back up a selection of resources.

Method

GoString

func (s PlanInput) GoString() string

GoString returns the string representation

SetBackupPlanName

func (s *PlanInput) SetBackupPlanName(v string) *PlanInput

SetBackupPlanName sets the BackupPlanName field's value.

SetRules

func (s *PlanInput) SetRules(v []*RuleInput) *PlanInput

SetRules sets the Rules field's value.

String

func (s PlanInput) String() string

String returns the string representation

Validate

func (s *PlanInput) Validate() error

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

On this page: