@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        AthenzResourceName that = (AthenzResourceName) o;
        return Objects.equals(domain, that.domain) &&
                Objects.equals(entityName, that.entityName);
    }
@param resourceName A resource name string on format 'domain:entity'
@return the parsed resource name
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/api/AthenzResourceName.java