ToCopyableBuilder<NodeGroup.Builder,NodeGroup>
@Generated("software.amazon.awssdk:codegen") public class NodeGroup extends Object implements ToCopyableBuilder<NodeGroup.Builder,NodeGroup>
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.
Modifier and Type | Class | Description |
---|---|---|
static interface |
NodeGroup.Builder |
Modifier and Type | Method | Description |
---|---|---|
static NodeGroup.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
nodeGroupId() |
The identifier for the node group (shard).
|
List<NodeGroupMember> |
nodeGroupMembers() |
A list containing information about individual nodes within the node group (shard).
|
Endpoint |
primaryEndpoint() |
The endpoint of the primary node in this node group (shard).
|
static Class<? extends NodeGroup.Builder> |
serializableBuilderClass() |
|
String |
slots() |
The keyspace for this node group (shard).
|
String |
status() |
The current state of this replication group -
creating , available , etc. |
NodeGroup.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String nodeGroupId()
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.
public String status()
The current state of this replication group - creating
, available
, etc.
creating
, available
, etc.public Endpoint primaryEndpoint()
The endpoint of the primary node in this node group (shard).
public String slots()
The keyspace for this node group (shard).
public List<NodeGroupMember> nodeGroupMembers()
A list containing information about individual nodes within the node group (shard).
public NodeGroup.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<NodeGroup.Builder,NodeGroup>
public static NodeGroup.Builder builder()
public static Class<? extends NodeGroup.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.