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

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

There is a newer version: 6.13.4
Show newest version
package io.fabric8.openshift.api.model.machine.v1beta1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class MachineStatusBuilder extends MachineStatusFluent implements VisitableBuilder{
  public MachineStatusBuilder() {
    this(new MachineStatus());
  }
  
  public MachineStatusBuilder(MachineStatusFluent fluent) {
    this(fluent, new MachineStatus());
  }
  
  public MachineStatusBuilder(MachineStatusFluent fluent,MachineStatus instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public MachineStatusBuilder(MachineStatus instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  MachineStatusFluent fluent;
  
  public MachineStatus build() {
    MachineStatus buildable = new MachineStatus(fluent.getAddresses(),fluent.buildConditions(),fluent.getErrorMessage(),fluent.getErrorReason(),fluent.buildLastOperation(),fluent.getLastUpdated(),fluent.buildNodeRef(),fluent.getPhase(),fluent.getProviderStatus());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy