presto-plugin-toolkit/src/main/java/io/prestosql/plugin/base/security/SessionPropertyAccessControlRule.java/SessionPropertyAccessControlRule/SessionPropertyAccessControlRule
class SessionPropertyAccessControlRule:    @JsonCreator
    public SessionPropertyAccessControlRule(
            @JsonProperty("allow") boolean allow,
            @JsonProperty("user") Optional<Pattern> userRegex,
            @JsonProperty("property") Optional<Pattern> propertyRegex)
    {
        this.allow = allow;
        this.userRegex = requireNonNull(userRegex, "userRegex is null");
        this.propertyRegex = requireNonNull(propertyRegex, "propertyRegex is null");
    }