protected static Optional<String> optionalOf(String value) {
        return Optional.ofNullable(value)
                       .filter(data -> ! data.isBlank());
    }
Returns the first of the given strings which is non-null and non-blank, or throws IllegalArgumentException.
vespa-maven-plugin/src/main/java/ai/vespa/hosted/plugin/AbstractVespaMojo.java