io.fabric8.openclustermanagement.api.model.cluster.v1alpha1.PlacementDecisionStatusBuilder Maven / Gradle / Ivy
package io.fabric8.openclustermanagement.api.model.cluster.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PlacementDecisionStatusBuilder extends PlacementDecisionStatusFluent implements VisitableBuilder{
public PlacementDecisionStatusBuilder() {
this(new PlacementDecisionStatus());
}
public PlacementDecisionStatusBuilder(PlacementDecisionStatusFluent> fluent) {
this(fluent, new PlacementDecisionStatus());
}
public PlacementDecisionStatusBuilder(PlacementDecisionStatusFluent> fluent,PlacementDecisionStatus instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public PlacementDecisionStatusBuilder(PlacementDecisionStatus instance) {
this.fluent = this;
this.copyInstance(instance);
}
PlacementDecisionStatusFluent> fluent;
public PlacementDecisionStatus build() {
PlacementDecisionStatus buildable = new PlacementDecisionStatus(fluent.buildDecisions());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}