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