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

io.fabric8.openshift.api.model.machineconfiguration.v1.NetworkInfoBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.openshift.api.model.machineconfiguration.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class NetworkInfoBuilder extends NetworkInfoFluent implements VisitableBuilder{
  public NetworkInfoBuilder() {
    this(new NetworkInfo());
  }
  
  public NetworkInfoBuilder(NetworkInfoFluent fluent) {
    this(fluent, new NetworkInfo());
  }
  
  public NetworkInfoBuilder(NetworkInfoFluent fluent,NetworkInfo instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public NetworkInfoBuilder(NetworkInfo instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  NetworkInfoFluent fluent;
  
  public NetworkInfo build() {
    NetworkInfo buildable = new NetworkInfo(fluent.getMtuMigration());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy