The identifier for the node group (shard). A Valkey or Redis OSS (cluster mode disabled) replication group
contains only 1 node group; therefore, the node group ID is 0001. A Valkey or Redis OSS (cluster mode
enabled) replication group contains 1 to 90 node groups numbered 0001 to 0090. Optionally, the user can
provide the id for a node group.
Parameters:
nodeGroupId - The identifier for the node group (shard). A Valkey or Redis OSS (cluster mode disabled) replication
group contains only 1 node group; therefore, the node group ID is 0001. A Valkey or Redis OSS (cluster
mode enabled) replication group contains 1 to 90 node groups numbered 0001 to 0090. Optionally, the
user can provide the id for a node group.
Returns:
Returns a reference to this object so that method calls can be chained together.