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.

CreateLoadBalancerPolicyInput

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

type CreateLoadBalancerPolicyInput struct { LoadBalancerName *string `type:"string" required:"true"` PolicyAttributes []*PolicyAttribute `type:"list"` PolicyName *string `type:"string" required:"true"` PolicyTypeName *string `type:"string" required:"true"` }

Contains the parameters for CreateLoadBalancerPolicy.

LoadBalancerName

Type: *string

The name of the load balancer.

LoadBalancerName is a required field

PolicyAttributes

Information about a policy attribute.

PolicyName

Type: *string

The name of the load balancer policy to be created. This name must be unique within the set of policies for this load balancer.

PolicyName is a required field

PolicyTypeName

Type: *string

The name of the base policy type. To get the list of policy types, use DescribeLoadBalancerPolicyTypes.

PolicyTypeName is a required field

Method

GoString

func (s CreateLoadBalancerPolicyInput) GoString() string

GoString returns the string representation

SetLoadBalancerName

func (s *CreateLoadBalancerPolicyInput) SetLoadBalancerName(v string) *CreateLoadBalancerPolicyInput

SetLoadBalancerName sets the LoadBalancerName field's value.

SetPolicyAttributes

func (s *CreateLoadBalancerPolicyInput) SetPolicyAttributes(v []*PolicyAttribute) *CreateLoadBalancerPolicyInput

SetPolicyAttributes sets the PolicyAttributes field's value.

SetPolicyName

func (s *CreateLoadBalancerPolicyInput) SetPolicyName(v string) *CreateLoadBalancerPolicyInput

SetPolicyName sets the PolicyName field's value.

SetPolicyTypeName

func (s *CreateLoadBalancerPolicyInput) SetPolicyTypeName(v string) *CreateLoadBalancerPolicyInput

SetPolicyTypeName sets the PolicyTypeName field's value.

String

func (s CreateLoadBalancerPolicyInput) String() string

String returns the string representation

Validate

func (s *CreateLoadBalancerPolicyInput) Validate() error

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

On this page: