presto-resource-group-managers/src/main/java/io/prestosql/plugin/resourcegroups/db/ResourceGroupSpecBuilder.java/ResourceGroupSpecBuilder/addSubGroup
class ResourceGroupSpecBuilder:    public void addSubGroup(ResourceGroupSpec subGroup)
    {
        subGroups.add(subGroup);
    }