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