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.

NodeSnapshot

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

type NodeSnapshot struct { CacheClusterId *string `type:"string"` CacheNodeCreateTime *time.Time `type:"timestamp"` CacheNodeId *string `type:"string"` CacheSize *string `type:"string"` NodeGroupConfiguration *NodeGroupConfiguration `type:"structure"` NodeGroupId *string `type:"string"` SnapshotCreateTime *time.Time `type:"timestamp"` }

Represents an individual cache node in a snapshot of a cluster.

CacheClusterId

Type: *string

A unique identifier for the source cluster.

CacheNodeCreateTime

Type: *time.Time

The date and time when the cache node was created in the source cluster.

CacheNodeId

Type: *string

The cache node identifier for the node in the source cluster.

CacheSize

Type: *string

The size of the cache on the source cache node.

NodeGroupConfiguration

Node group (shard) configuration options. Each node group (shard) configuration has the following: Slots, PrimaryAvailabilityZone, ReplicaAvailabilityZones, ReplicaCount.

NodeGroupId

Type: *string

A unique identifier for the source node group (shard).

SnapshotCreateTime

Type: *time.Time

The date and time when the source node's metadata and cache data set was obtained for the snapshot.

Method

GoString

func (s NodeSnapshot) GoString() string

GoString returns the string representation

SetCacheClusterId

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

SetCacheClusterId sets the CacheClusterId field's value.

SetCacheNodeCreateTime

func (s *NodeSnapshot) SetCacheNodeCreateTime(v time.Time) *NodeSnapshot

SetCacheNodeCreateTime sets the CacheNodeCreateTime field's value.

SetCacheNodeId

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

SetCacheNodeId sets the CacheNodeId field's value.

SetCacheSize

func (s *NodeSnapshot) SetCacheSize(v string) *NodeSnapshot

SetCacheSize sets the CacheSize field's value.

SetNodeGroupConfiguration

func (s *NodeSnapshot) SetNodeGroupConfiguration(v *NodeGroupConfiguration) *NodeSnapshot

SetNodeGroupConfiguration sets the NodeGroupConfiguration field's value.

SetNodeGroupId

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

SetNodeGroupId sets the NodeGroupId field's value.

SetSnapshotCreateTime

func (s *NodeSnapshot) SetSnapshotCreateTime(v time.Time) *NodeSnapshot

SetSnapshotCreateTime sets the SnapshotCreateTime field's value.

String

func (s NodeSnapshot) String() string

String returns the string representation

On this page: