presto-resource-group-managers/src/main/java/io/prestosql/plugin/resourcegroups/ResourceGroupIdTemplate.java/ResourceGroupIdTemplate/ResourceGroupIdTemplate
class ResourceGroupIdTemplate:    @JsonCreator
    public ResourceGroupIdTemplate(String fullId)
    {
        List<String> segments = Splitter.on(".").splitToList(requireNonNull(fullId, "fullId is null"));
        checkArgument(!segments.isEmpty(), "Resource group id is empty");
        this.segments = segments.stream()
                .map(ResourceGroupNameTemplate::new)
                .collect(Collectors.toList());
    }