public Integer getNumNodeGroups() {
        return this.numNodeGroups;
    }
<p>
The number of node groups (shards) in this snapshot. When restoring from a snapshot, the number of node groups
(shards) in the snapshot and in the restored replication group must be the same.
</p>

@return The number of node groups (shards) in this snapshot. When restoring from a snapshot, the number of node
        groups (shards) in the snapshot and in the restored replication group must be the same.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/Snapshot.java