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.

RelationalDatabaseEndpoint

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

type RelationalDatabaseEndpoint struct { Address *string `locationName:"address" type:"string"` Port *int64 `locationName:"port" type:"integer"` }

Describes an endpoint for a database.

Address

Type: *string

Specifies the DNS address of the database.

Port

Type: *int64

Specifies the port that the database is listening on.

Method

GoString

func (s RelationalDatabaseEndpoint) GoString() string

GoString returns the string representation

SetAddress

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

SetAddress sets the Address field's value.

SetPort

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

SetPort sets the Port field's value.

String

func (s RelationalDatabaseEndpoint) String() string

String returns the string representation

On this page: