public static DomainName of(String value) {
        return new DomainName(value, "domain name");
   }
A valid domain name, which can be used in a {@link java.net.URI}.

@author jonmv
vespajlib/src/main/java/ai/vespa/http/DomainName.java