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.

BackendServerDescription

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

type BackendServerDescription struct { InstancePort *int64 `min:"1" type:"integer"` PolicyNames []*string `type:"list"` }

Information about the configuration of an EC2 instance.

InstancePort

Type: *int64

The port on which the EC2 instance is listening.

PolicyNames

Type: []*string

The names of the policies enabled for the EC2 instance.

Method

GoString

func (s BackendServerDescription) GoString() string

GoString returns the string representation

SetInstancePort

func (s *BackendServerDescription) SetInstancePort(v int64) *BackendServerDescription

SetInstancePort sets the InstancePort field's value.

SetPolicyNames

func (s *BackendServerDescription) SetPolicyNames(v []*string) *BackendServerDescription

SetPolicyNames sets the PolicyNames field's value.

String

func (s BackendServerDescription) String() string

String returns the string representation

On this page: