public Builder name(String name) {
            config.name = set(name);
            return this;
        }
Legacy constructor using the &lt;net&gt; config
@param net net, encapsulating mode &amp; name.
src/main/java/io/fabric8/maven/docker/config/NetworkConfig.java