io.fabric8.knative.eventing.v1alpha1.EventPolicySpecFromBuilder Maven / Gradle / Ivy
package io.fabric8.knative.eventing.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class EventPolicySpecFromBuilder extends EventPolicySpecFromFluent implements VisitableBuilder{
public EventPolicySpecFromBuilder() {
this(new EventPolicySpecFrom());
}
public EventPolicySpecFromBuilder(EventPolicySpecFromFluent> fluent) {
this(fluent, new EventPolicySpecFrom());
}
public EventPolicySpecFromBuilder(EventPolicySpecFromFluent> fluent,EventPolicySpecFrom instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public EventPolicySpecFromBuilder(EventPolicySpecFrom instance) {
this.fluent = this;
this.copyInstance(instance);
}
EventPolicySpecFromFluent> fluent;
public EventPolicySpecFrom build() {
EventPolicySpecFrom buildable = new EventPolicySpecFrom(fluent.buildRef(),fluent.getSub());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy