annotations.io.fabric8.knative.flows.v1.ParallelBranchBuilder Maven / Gradle / Ivy
package io.fabric8.knative.flows.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Object;
import java.lang.Boolean;
public class ParallelBranchBuilder extends io.fabric8.knative.flows.v1.ParallelBranchFluentImpl implements io.fabric8.kubernetes.api.builder.VisitableBuilder{
public ParallelBranchBuilder() {
this(false);
}
public ParallelBranchBuilder(java.lang.Boolean validationEnabled) {
this(new ParallelBranch(), validationEnabled);
}
public ParallelBranchBuilder(io.fabric8.knative.flows.v1.ParallelBranchFluent> fluent) {
this(fluent, false);
}
public ParallelBranchBuilder(io.fabric8.knative.flows.v1.ParallelBranchFluent> fluent,java.lang.Boolean validationEnabled) {
this(fluent, new ParallelBranch(), validationEnabled);
}
public ParallelBranchBuilder(io.fabric8.knative.flows.v1.ParallelBranchFluent> fluent,io.fabric8.knative.flows.v1.ParallelBranch instance) {
this(fluent, instance, false);
}
public ParallelBranchBuilder(io.fabric8.knative.flows.v1.ParallelBranchFluent> fluent,io.fabric8.knative.flows.v1.ParallelBranch instance,java.lang.Boolean validationEnabled) {
this.fluent = fluent;
fluent.withDelivery(instance.getDelivery());
fluent.withFilter(instance.getFilter());
fluent.withReply(instance.getReply());
fluent.withSubscriber(instance.getSubscriber());
this.validationEnabled = validationEnabled;
}
public ParallelBranchBuilder(io.fabric8.knative.flows.v1.ParallelBranch instance) {
this(instance,false);
}
public ParallelBranchBuilder(io.fabric8.knative.flows.v1.ParallelBranch instance,java.lang.Boolean validationEnabled) {
this.fluent = this;
this.withDelivery(instance.getDelivery());
this.withFilter(instance.getFilter());
this.withReply(instance.getReply());
this.withSubscriber(instance.getSubscriber());
this.validationEnabled = validationEnabled;
}
io.fabric8.knative.flows.v1.ParallelBranchFluent> fluent;
java.lang.Boolean validationEnabled;
public io.fabric8.knative.flows.v1.ParallelBranch build() {
ParallelBranch buildable = new ParallelBranch(fluent.getDelivery(),fluent.getFilter(),fluent.getReply(),fluent.getSubscriber());
return buildable;
}
public boolean equals(java.lang.Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
ParallelBranchBuilder that = (ParallelBranchBuilder) o;
if (fluent != null &&fluent != this ? !fluent.equals(that.fluent) :that.fluent != null &&fluent != this ) return false;
if (validationEnabled != null ? !validationEnabled.equals(that.validationEnabled) :that.validationEnabled != null) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(fluent, validationEnabled, super.hashCode());
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy