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.

UpdateTrafficPolicyCommentInput

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

type UpdateTrafficPolicyCommentInput struct { Comment *string `type:"string" required:"true"` Id *string `location:"uri" locationName:"Id" min:"1" type:"string" required:"true"` Version *int64 `location:"uri" locationName:"Version" min:"1" type:"integer" required:"true"` }

A complex type that contains information about the traffic policy that you want to update the comment for.

Comment

Type: *string

The new comment for the specified traffic policy and version.

Comment is a required field

Id

Type: *string

The value of Id for the traffic policy that you want to update the comment for.

Id is a required field

Version

Type: *int64

The value of Version for the traffic policy that you want to update the comment for.

Version is a required field

Method

GoString

func (s UpdateTrafficPolicyCommentInput) GoString() string

GoString returns the string representation

SetComment

func (s *UpdateTrafficPolicyCommentInput) SetComment(v string) *UpdateTrafficPolicyCommentInput

SetComment sets the Comment field's value.

SetId

func (s *UpdateTrafficPolicyCommentInput) SetId(v string) *UpdateTrafficPolicyCommentInput

SetId sets the Id field's value.

SetVersion

func (s *UpdateTrafficPolicyCommentInput) SetVersion(v int64) *UpdateTrafficPolicyCommentInput

SetVersion sets the Version field's value.

String

func (s UpdateTrafficPolicyCommentInput) String() string

String returns the string representation

Validate

func (s *UpdateTrafficPolicyCommentInput) Validate() error

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

On this page: