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