@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        NodeIdentity that = (NodeIdentity) o;
        return nodeType == that.nodeType &&
                Objects.equals(identityName, that.identityName) &&
                Objects.equals(hostname, that.hostname) &&
                Objects.equals(applicationId, that.applicationId);
    }
The identity of a Vespa node

@author bjorncs
config-provisioning/src/main/java/com/yahoo/config/provision/security/NodeIdentity.java