@Override
    public String getName() {
        StringBuilder builder = new StringBuilder(identity.nodeType().name());
        identity.hostname().ifPresent(hostname -> builder.append('/').append(hostname.value()));
        identity.applicationId().ifPresent(applicationId -> builder.append('/').append(applicationId.toShortString()));
        return builder.toString();
    }
Represents the identity of a hosted Vespa node

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