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