io.fabric8.knative.sources.v1beta2.PingSourceSpecBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.knative.sources.v1beta2;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PingSourceSpecBuilder extends PingSourceSpecFluent implements VisitableBuilder{
public PingSourceSpecBuilder() {
this(new PingSourceSpec());
}
public PingSourceSpecBuilder(PingSourceSpecFluent> fluent) {
this(fluent, new PingSourceSpec());
}
public PingSourceSpecBuilder(PingSourceSpecFluent> fluent,PingSourceSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public PingSourceSpecBuilder(PingSourceSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
PingSourceSpecFluent> fluent;
public PingSourceSpec build() {
PingSourceSpec buildable = new PingSourceSpec(fluent.buildCeOverrides(),fluent.getContentType(),fluent.getData(),fluent.getDataBase64(),fluent.getSchedule(),fluent.buildSink(),fluent.getTimezone());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy