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