io.debezium.operator.api.model.status.ConditionBuilder Maven / Gradle / Ivy
package io.debezium.operator.api.model.status;
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.getType(),fluent.getStatus(),fluent.getMessage());
return buildable;
}
}