NodeCandidate withNode(Node node, boolean retiredNow) {
        return new ConcreteNodeCandidate(node, retiredNow, freeParentCapacity, parent, violatesSpares, exclusiveSwitch, exclusiveParent, isNew, isResizable);
    }
Returns a copy of this with node set to given value
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/provisioning/NodeCandidate.java