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.

Endpoint

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

type Endpoint struct { Address *string `type:"string"` Port *int64 `type:"integer"` }

Describes a connection endpoint.

Address

Type: *string

The DNS address of the Cluster.

Port

Type: *int64

The port that the database engine is listening on.

Method

GoString

func (s Endpoint) GoString() string

GoString returns the string representation

SetAddress

func (s *Endpoint) SetAddress(v string) *Endpoint

SetAddress sets the Address field's value.

SetPort

func (s *Endpoint) SetPort(v int64) *Endpoint

SetPort sets the Port field's value.

String

func (s Endpoint) String() string

String returns the string representation

On this page: