io.fabric8.openshift.api.model.machine.v1beta1.ConditionBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model.machine.v1beta1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ConditionBuilder extends ConditionFluent implements VisitableBuilder{
public ConditionBuilder() {
this(new Condition());
}
public ConditionBuilder(ConditionFluent> fluent) {
this(fluent, new Condition());
}
public ConditionBuilder(ConditionFluent> fluent,Condition instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ConditionBuilder(Condition instance) {
this.fluent = this;
this.copyInstance(instance);
}
ConditionFluent> fluent;
public Condition build() {
Condition buildable = new Condition(fluent.getLastTransitionTime(),fluent.getMessage(),fluent.getReason(),fluent.getSeverity(),fluent.getStatus(),fluent.getType());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy