static private String findVespaHostname(String defHost) {
        Optional<String> vespaHostEnv = Optional.ofNullable(System.getenv("VESPA_HOSTNAME"));
        if (vespaHostEnv.isPresent() && ! vespaHostEnv.get().trim().isEmpty()) {
            return vespaHostEnv.get().trim();
        }
        return defHost;
    }
The defaults of basic Vespa configuration variables.
Use Defaults.getDefaults() to access the defaults of this runtime environment.

@author arnej27959
@author bratseth
defaults/src/main/java/com/yahoo/vespa/defaults/Defaults.java