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.

NodeGroup

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

type NodeGroup struct { NodeGroupId *string `type:"string"` NodeGroupMembers []*NodeGroupMember `locationNameList:"NodeGroupMember" type:"list"` PrimaryEndpoint *Endpoint `type:"structure"` Slots *string `type:"string"` Status *string `type:"string"` }

Represents a collection of cache nodes in a replication group. One node in the node group is the read/write primary node. All the other nodes are read-only Replica nodes.

NodeGroupId

Type: *string

The identifier for the node group (shard). A Redis (cluster mode disabled) replication group contains only 1 node group; therefore, the node group ID is 0001. A Redis (cluster mode enabled) replication group contains 1 to 15 node groups numbered 0001 to 0015.

NodeGroupMembers

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

PrimaryEndpoint

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

Slots

Type: *string

The keyspace for this node group (shard).

Status

Type: *string

The current state of this replication group - creating, available, etc.

Method

GoString

func (s NodeGroup) GoString() string

GoString returns the string representation

SetNodeGroupId

func (s *NodeGroup) SetNodeGroupId(v string) *NodeGroup

SetNodeGroupId sets the NodeGroupId field's value.

SetNodeGroupMembers

func (s *NodeGroup) SetNodeGroupMembers(v []*NodeGroupMember) *NodeGroup

SetNodeGroupMembers sets the NodeGroupMembers field's value.

SetPrimaryEndpoint

func (s *NodeGroup) SetPrimaryEndpoint(v *Endpoint) *NodeGroup

SetPrimaryEndpoint sets the PrimaryEndpoint field's value.

SetSlots

func (s *NodeGroup) SetSlots(v string) *NodeGroup

SetSlots sets the Slots field's value.

SetStatus

func (s *NodeGroup) SetStatus(v string) *NodeGroup

SetStatus sets the Status field's value.

String

func (s NodeGroup) String() string

String returns the string representation

On this page: