@Override
    public String toString() {
        return "AthenzAssertion{" +
                "id=" + id +
                ", effect=" + effect +
                ", role=" + role +
                ", resource=" + resource +
                ", action='" + action + '\'' +
                '}';
    }
Convenience method to check if an assertion matches the given role, resource and action.
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/api/AthenzAssertion.java