default F with(Dimension dimension, Optional<String> dimensionValue) {
        return dimensionValue.map(value -> with(dimension, value)).orElse(self());
    }
Same as {@link #with(Dimension, String)} if value is present, and otherwise returns {@code this}.
flags/src/main/java/com/yahoo/vespa/flags/Flag.java