All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.openshift.api.model.installer.v1.NetworkingBuilder Maven / Gradle / Ivy

package io.fabric8.openshift.api.model.installer.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class NetworkingBuilder extends NetworkingFluent implements VisitableBuilder{
  public NetworkingBuilder() {
    this(new Networking());
  }
  
  public NetworkingBuilder(NetworkingFluent fluent) {
    this(fluent, new Networking());
  }
  
  public NetworkingBuilder(NetworkingFluent fluent,Networking instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public NetworkingBuilder(Networking instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  NetworkingFluent fluent;
  
  public Networking build() {
    Networking buildable = new Networking(fluent.buildClusterNetwork(),fluent.getClusterNetworkMTU(),fluent.buildClusterNetworkList(),fluent.getMachineCIDR(),fluent.buildMachineNetwork(),fluent.getNetworkType(),fluent.getServiceCIDR(),fluent.getServiceNetwork(),fluent.getType());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy