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.

Policies

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

type Policies struct { AppCookieStickinessPolicies []*AppCookieStickinessPolicy `type:"list"` LBCookieStickinessPolicies []*LBCookieStickinessPolicy `type:"list"` OtherPolicies []*string `type:"list"` }

The policies for a load balancer.

AppCookieStickinessPolicies

Information about a policy for application-controlled session stickiness.

LBCookieStickinessPolicies

Information about a policy for duration-based session stickiness.

OtherPolicies

Type: []*string

The policies other than the stickiness policies.

Method

GoString

func (s Policies) GoString() string

GoString returns the string representation

SetAppCookieStickinessPolicies

func (s *Policies) SetAppCookieStickinessPolicies(v []*AppCookieStickinessPolicy) *Policies

SetAppCookieStickinessPolicies sets the AppCookieStickinessPolicies field's value.

SetLBCookieStickinessPolicies

func (s *Policies) SetLBCookieStickinessPolicies(v []*LBCookieStickinessPolicy) *Policies

SetLBCookieStickinessPolicies sets the LBCookieStickinessPolicies field's value.

SetOtherPolicies

func (s *Policies) SetOtherPolicies(v []*string) *Policies

SetOtherPolicies sets the OtherPolicies field's value.

String

func (s Policies) String() string

String returns the string representation

On this page: