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.

UpdateLoadBalancerAttributeInput

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

type UpdateLoadBalancerAttributeInput struct { AttributeName *string `locationName:"attributeName" type:"string" required:"true" enum:"LoadBalancerAttributeName"` AttributeValue *string `locationName:"attributeValue" min:"1" type:"string" required:"true"` LoadBalancerName *string `locationName:"loadBalancerName" type:"string" required:"true"` }

AttributeName

Type: *string

The name of the attribute you want to update. Valid values are below.

AttributeName is a required field

AttributeValue

Type: *string

The value that you want to specify for the attribute name.

AttributeValue is a required field

LoadBalancerName

Type: *string

The name of the load balancer that you want to modify (e.g., my-load-balancer.

LoadBalancerName is a required field

Method

GoString

func (s UpdateLoadBalancerAttributeInput) GoString() string

GoString returns the string representation

SetAttributeName

func (s *UpdateLoadBalancerAttributeInput) SetAttributeName(v string) *UpdateLoadBalancerAttributeInput

SetAttributeName sets the AttributeName field's value.

SetAttributeValue

func (s *UpdateLoadBalancerAttributeInput) SetAttributeValue(v string) *UpdateLoadBalancerAttributeInput

SetAttributeValue sets the AttributeValue field's value.

SetLoadBalancerName

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

SetLoadBalancerName sets the LoadBalancerName field's value.

String

func (s UpdateLoadBalancerAttributeInput) String() string

String returns the string representation

Validate

func (s *UpdateLoadBalancerAttributeInput) Validate() error

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

On this page: