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.

NodeGroupMember

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

type NodeGroupMember struct { CacheClusterId *string `type:"string"` CacheNodeId *string `type:"string"` CurrentRole *string `type:"string"` PreferredAvailabilityZone *string `type:"string"` ReadEndpoint *Endpoint `type:"structure"` }

Represents a single node within a node group (shard).

CacheClusterId

Type: *string

The ID of the cluster to which the node belongs.

CacheNodeId

Type: *string

The ID of the node within its cluster. A node ID is a numeric identifier (0001, 0002, etc.).

CurrentRole

Type: *string

The role that is currently assigned to the node - primary or replica. This member is only applicable for Redis (cluster mode disabled) replication groups.

PreferredAvailabilityZone

Type: *string

The name of the Availability Zone in which the node is located.

ReadEndpoint

Represents the information required for client programs to connect to a cache node.

Method

GoString

func (s NodeGroupMember) GoString() string

GoString returns the string representation

SetCacheClusterId

func (s *NodeGroupMember) SetCacheClusterId(v string) *NodeGroupMember

SetCacheClusterId sets the CacheClusterId field's value.

SetCacheNodeId

func (s *NodeGroupMember) SetCacheNodeId(v string) *NodeGroupMember

SetCacheNodeId sets the CacheNodeId field's value.

SetCurrentRole

func (s *NodeGroupMember) SetCurrentRole(v string) *NodeGroupMember

SetCurrentRole sets the CurrentRole field's value.

SetPreferredAvailabilityZone

func (s *NodeGroupMember) SetPreferredAvailabilityZone(v string) *NodeGroupMember

SetPreferredAvailabilityZone sets the PreferredAvailabilityZone field's value.

SetReadEndpoint

func (s *NodeGroupMember) SetReadEndpoint(v *Endpoint) *NodeGroupMember

SetReadEndpoint sets the ReadEndpoint field's value.

String

func (s NodeGroupMember) String() string

String returns the string representation

On this page: