presto-resource-group-managers/src/main/java/io/prestosql/plugin/resourcegroups/db/SelectorRecord.java/SelectorRecord/SelectorRecord
class SelectorRecord:    public SelectorRecord(
            long resourceGroupId,
            long priority,
            Optional<Pattern> userRegex,
            Optional<Pattern> sourceRegex,
            Optional<String> queryType,
            Optional<List<String>> clientTags,
            Optional<SelectorResourceEstimate> selectorResourceEstimate)
    {
        this.resourceGroupId = resourceGroupId;
        this.priority = priority;
        this.userRegex = requireNonNull(userRegex, "userRegex is null");
        this.sourceRegex = requireNonNull(sourceRegex, "sourceRegex is null");
        this.queryType = requireNonNull(queryType, "queryType is null");
        this.clientTags = requireNonNull(clientTags, "clientTags is null").map(ImmutableList::copyOf);
        this.selectorResourceEstimate = requireNonNull(selectorResourceEstimate, "selectorResourceEstimate is null");
    }