io.fabric8.kubernetes.api.model.flowcontrol.v1.PriorityLevelConfigurationConditionBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.kubernetes.api.model.flowcontrol.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PriorityLevelConfigurationConditionBuilder extends PriorityLevelConfigurationConditionFluent implements VisitableBuilder{
public PriorityLevelConfigurationConditionBuilder() {
this(new PriorityLevelConfigurationCondition());
}
public PriorityLevelConfigurationConditionBuilder(PriorityLevelConfigurationConditionFluent> fluent) {
this(fluent, new PriorityLevelConfigurationCondition());
}
public PriorityLevelConfigurationConditionBuilder(PriorityLevelConfigurationConditionFluent> fluent,PriorityLevelConfigurationCondition instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public PriorityLevelConfigurationConditionBuilder(PriorityLevelConfigurationCondition instance) {
this.fluent = this;
this.copyInstance(instance);
}
PriorityLevelConfigurationConditionFluent> fluent;
public PriorityLevelConfigurationCondition build() {
PriorityLevelConfigurationCondition buildable = new PriorityLevelConfigurationCondition(fluent.getLastTransitionTime(),fluent.getMessage(),fluent.getReason(),fluent.getStatus(),fluent.getType());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}