CopyableBuilder<NodeGroup.Builder,NodeGroup>
, SdkBuilder<NodeGroup.Builder,NodeGroup>
public static interface NodeGroup.Builder extends CopyableBuilder<NodeGroup.Builder,NodeGroup>
Modifier and Type | Method | Description |
---|---|---|
NodeGroup.Builder |
nodeGroupId(String nodeGroupId) |
The identifier for the node group (shard).
|
NodeGroup.Builder |
nodeGroupMembers(Collection<NodeGroupMember> nodeGroupMembers) |
A list containing information about individual nodes within the node group (shard).
|
NodeGroup.Builder |
nodeGroupMembers(NodeGroupMember... nodeGroupMembers) |
A list containing information about individual nodes within the node group (shard).
|
NodeGroup.Builder |
primaryEndpoint(Endpoint primaryEndpoint) |
The endpoint of the primary node in this node group (shard).
|
NodeGroup.Builder |
slots(String slots) |
The keyspace for this node group (shard).
|
NodeGroup.Builder |
status(String status) |
The current state of this replication group -
creating , available , etc. |
copy
apply, build
NodeGroup.Builder nodeGroupId(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.
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.NodeGroup.Builder status(String status)
The current state of this replication group - creating
, available
, etc.
status
- The current state of this replication group - creating
, available
, etc.NodeGroup.Builder primaryEndpoint(Endpoint primaryEndpoint)
The endpoint of the primary node in this node group (shard).
primaryEndpoint
- The endpoint of the primary node in this node group (shard).NodeGroup.Builder slots(String slots)
The keyspace for this node group (shard).
slots
- The keyspace for this node group (shard).NodeGroup.Builder nodeGroupMembers(Collection<NodeGroupMember> nodeGroupMembers)
A list containing information about individual nodes within the node group (shard).
nodeGroupMembers
- A list containing information about individual nodes within the node group (shard).NodeGroup.Builder nodeGroupMembers(NodeGroupMember... nodeGroupMembers)
A list containing information about individual nodes within the node group (shard).
NOTE: This method appends the values to the existing list (if any). Use
#setNodeGroupMembers(java.util.Collection)
or #withNodeGroupMembers(java.util.Collection)
if
you want to override the existing values.
nodeGroupMembers
- A list containing information about individual nodes within the node group (shard).Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.