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

io.fabric8.openshift.api.model.machine.v1beta1.MachineSetBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.openshift.api.model.machine.v1beta1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class MachineSetBuilder extends MachineSetFluent implements VisitableBuilder{
  public MachineSetBuilder() {
    this(new MachineSet());
  }
  
  public MachineSetBuilder(MachineSetFluent fluent) {
    this(fluent, new MachineSet());
  }
  
  public MachineSetBuilder(MachineSetFluent fluent,MachineSet instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public MachineSetBuilder(MachineSet instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  MachineSetFluent fluent;
  
  public MachineSet build() {
    MachineSet buildable = new MachineSet(fluent.getApiVersion(),fluent.getKind(),fluent.buildMetadata(),fluent.buildSpec(),fluent.buildStatus());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy