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/rds"

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

This data type represents the information you need to connect to an Amazon RDS DB instance. This data type is used as a response element in the following actions:

  • CreateDBInstance

  • DescribeDBInstances

  • DeleteDBInstance

For the data structure that represents Amazon Aurora DB cluster endpoints, see DBClusterEndpoint.

Address

Type: *string

Specifies the DNS address of the DB instance.

HostedZoneId

Type: *string

Specifies the ID that Amazon Route 53 assigns when you create a hosted zone.

Port

Type: *int64

Specifies 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.

SetHostedZoneId

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

SetHostedZoneId sets the HostedZoneId 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: