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.

CreateBackupSelectionInput

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

type CreateBackupSelectionInput struct { BackupPlanId *string `location:"uri" locationName:"backupPlanId" type:"string" required:"true"` BackupSelection *Selection `type:"structure" required:"true"` CreatorRequestId *string `type:"string"` }

BackupPlanId

Type: *string

Uniquely identifies the backup plan to be associated with the selection of resources.

BackupPlanId is a required field

BackupSelection

Used to specify a set of resources to a backup plan.

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.

Method

GoString

func (s CreateBackupSelectionInput) GoString() string

GoString returns the string representation

SetBackupPlanId

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

SetBackupPlanId sets the BackupPlanId field's value.

SetBackupSelection

func (s *CreateBackupSelectionInput) SetBackupSelection(v *Selection) *CreateBackupSelectionInput

SetBackupSelection sets the BackupSelection field's value.

SetCreatorRequestId

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

SetCreatorRequestId sets the CreatorRequestId field's value.

String

func (s CreateBackupSelectionInput) String() string

String returns the string representation

Validate

func (s *CreateBackupSelectionInput) Validate() error

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

On this page: