
annotations.io.fabric8.docker.api.model.ContainerHostConfigFluentImpl Maven / Gradle / Ivy
package io.fabric8.docker.api.model;
import java.io.Serializable;
import io.fabric8.docker.api.builder.Visitable;
import io.fabric8.docker.api.builder.BaseFluent;
import io.fabric8.docker.api.builder.Fluent;
public class ContainerHostConfigFluentImpl> extends BaseFluent implements ContainerHostConfigFluent{
String networkMode;
public ContainerHostConfigFluentImpl(){
}
public ContainerHostConfigFluentImpl( ContainerHostConfig instance ){
this.withNetworkMode(instance.getNetworkMode());
}
public String getNetworkMode(){
return this.networkMode;
}
public T withNetworkMode( String networkMode){
this.networkMode=networkMode; return (T) this;
}
public boolean equals( Object o){
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
ContainerHostConfigFluentImpl that = (ContainerHostConfigFluentImpl) o;
if (networkMode != null ? !networkMode.equals(that.networkMode) :that.networkMode != null) return false;
return true;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy