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.

ClusterNode

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

type ClusterNode struct { NodeRole *string `type:"string"` PrivateIPAddress *string `type:"string"` PublicIPAddress *string `type:"string"` }

The identifier of a node in a cluster.

NodeRole

Type: *string

Whether the node is a leader node or a compute node.

PrivateIPAddress

Type: *string

The private IP address of a node within a cluster.

PublicIPAddress

Type: *string

The public IP address of a node within a cluster.

Method

GoString

func (s ClusterNode) GoString() string

GoString returns the string representation

SetNodeRole

func (s *ClusterNode) SetNodeRole(v string) *ClusterNode

SetNodeRole sets the NodeRole field's value.

SetPrivateIPAddress

func (s *ClusterNode) SetPrivateIPAddress(v string) *ClusterNode

SetPrivateIPAddress sets the PrivateIPAddress field's value.

SetPublicIPAddress

func (s *ClusterNode) SetPublicIPAddress(v string) *ClusterNode

SetPublicIPAddress sets the PublicIPAddress field's value.

String

func (s ClusterNode) String() string

String returns the string representation

On this page: