public void setNodeGroupId(String nodeGroupId) {
        this.nodeGroupId = nodeGroupId;
    }
<p>
The identifier for the node group (shard). A Redis OSS (cluster mode disabled) replication group contains only 1
node group; therefore, the node group ID is 0001. A 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.
</p>

@param nodeGroupId
       The identifier for the node group (shard). A Redis OSS (cluster mode disabled) replication group contains
       only 1 node group; therefore, the node group ID is 0001. A 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.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/NodeGroup.java