presto-resource-group-managers/src/main/java/io/prestosql/plugin/resourcegroups/ResourceGroupIdTemplate.java/ResourceGroupIdTemplate/fromSegments
class ResourceGroupIdTemplate:    public static ResourceGroupIdTemplate fromSegments(List<ResourceGroupNameTemplate> segments)
    {
        return new ResourceGroupIdTemplate(join(".", segments.stream().map(ResourceGroupNameTemplate::toString).collect(Collectors.toList())));
    }