public void setGlobalNodeGroups(java.util.Collection<GlobalNodeGroup> globalNodeGroups) {
        if (globalNodeGroups == null) {
            this.globalNodeGroups = null;
            return;
        }

        this.globalNodeGroups = new com.amazonaws.internal.SdkInternalList<GlobalNodeGroup>(globalNodeGroups);
    }
<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.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/GlobalReplicationGroup.java