io.debezium.operator.api.model.status.ConditionBuilder Maven / Gradle / Ivy
The newest version!
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;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy