public static Builder builder(final HashedApiKey copy) {
        Builder builder = new Builder();
        builder.id = copy.getId();
        builder.version = copy.getVersion();
        builder.createTimeMs = copy.getCreateTimeMs();
        builder.createUser = copy.getCreateUser();
        builder.updateTimeMs = copy.getUpdateTimeMs();
        builder.updateUser = copy.getUpdateUser();
        builder.owner = copy.getOwner();
        builder.apiKeyHash = copy.getApiKeyHash();
        builder.apiKeyPrefix = copy.getApiKeyPrefix();
        builder.expireTimeMs = copy.getExpireTimeMs();
        builder.name = copy.getName();
        builder.comments = copy.getComments();
        builder.enabled = copy.getEnabled();
        builder.hashAlgorithm = copy.getHashAlgorithm();
        return builder;
    }
A hashed API key. The actual API key is not persisted.
stroom-core-shared/src/main/java/stroom/security/shared/HashedApiKey.java