io.fabric8.knative.sources.v1alpha1.PrometheusSourceListBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.knative.sources.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PrometheusSourceListBuilder extends PrometheusSourceListFluent implements VisitableBuilder{
public PrometheusSourceListBuilder() {
this(new PrometheusSourceList());
}
public PrometheusSourceListBuilder(PrometheusSourceListFluent> fluent) {
this(fluent, new PrometheusSourceList());
}
public PrometheusSourceListBuilder(PrometheusSourceListFluent> fluent,PrometheusSourceList instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public PrometheusSourceListBuilder(PrometheusSourceList instance) {
this.fluent = this;
this.copyInstance(instance);
}
PrometheusSourceListFluent> fluent;
public PrometheusSourceList build() {
PrometheusSourceList buildable = new PrometheusSourceList(fluent.getApiVersion(),fluent.buildItems(),fluent.getKind(),fluent.getMetadata());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy