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.

PolicyDetails

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

type PolicyDetails struct { ResourceTypes []*string `min:"1" type:"list"` Schedules []*Schedule `min:"1" type:"list"` TargetTags []*Tag `min:"1" type:"list"` }

Specifies the configuration of a lifecycle policy.

ResourceTypes

Type: []*string

The resource type.

Schedules

Specifies a schedule.

TargetTags

Specifies a tag for a resource.

Method

GoString

func (s PolicyDetails) GoString() string

GoString returns the string representation

SetResourceTypes

func (s *PolicyDetails) SetResourceTypes(v []*string) *PolicyDetails

SetResourceTypes sets the ResourceTypes field's value.

SetSchedules

func (s *PolicyDetails) SetSchedules(v []*Schedule) *PolicyDetails

SetSchedules sets the Schedules field's value.

SetTargetTags

func (s *PolicyDetails) SetTargetTags(v []*Tag) *PolicyDetails

SetTargetTags sets the TargetTags field's value.

String

func (s PolicyDetails) String() string

String returns the string representation

Validate

func (s *PolicyDetails) Validate() error

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

On this page: