io.fabric8.knative.internal.autoscaling.v1alpha1.PodScalableListBuilder Maven / Gradle / Ivy
package io.fabric8.knative.internal.autoscaling.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PodScalableListBuilder extends PodScalableListFluent implements VisitableBuilder{
public PodScalableListBuilder() {
this(new PodScalableList());
}
public PodScalableListBuilder(PodScalableListFluent> fluent) {
this(fluent, new PodScalableList());
}
public PodScalableListBuilder(PodScalableListFluent> fluent,PodScalableList instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public PodScalableListBuilder(PodScalableList instance) {
this.fluent = this;
this.copyInstance(instance);
}
PodScalableListFluent> fluent;
public PodScalableList build() {
PodScalableList buildable = new PodScalableList(fluent.getApiVersion(),fluent.buildItems(),fluent.getKind(),fluent.getMetadata());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy