public int maxLinksPerNode() {
        return maxLinksPerNode.orElse(DEFAULT_MAX_LINKS_PER_NODE);
    }
Creates a new instance where values from the given parameter instance are used where they are present,
otherwise we use values from this.
config-model/src/main/java/com/yahoo/schema/document/HnswIndexParams.java