public GlobalReplicationGroup withGlobalNodeGroups(java.util.Collection<GlobalNodeGroup> globalNodeGroups) {
        setGlobalNodeGroups(globalNodeGroups);
        return this;
    }
<p>
Indicates the slot configuration and global identifier for each slice group.
</p>

@param globalNodeGroups
       Indicates the slot configuration and global identifier for each slice group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/GlobalReplicationGroup.java