private <T> T set(T prop) {
            if (prop != null) {
                isEmpty = false;
            }
            return prop;
        }
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