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