io.debezium.operator.api.model.runtime.RuntimeApiBuilder Maven / Gradle / Ivy
The newest version!
package io.debezium.operator.api.model.runtime;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class RuntimeApiBuilder extends RuntimeApiFluent implements VisitableBuilder{
public RuntimeApiBuilder() {
this(new RuntimeApi());
}
public RuntimeApiBuilder(RuntimeApiFluent> fluent) {
this(fluent, new RuntimeApi());
}
public RuntimeApiBuilder(RuntimeApiFluent> fluent,RuntimeApi instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public RuntimeApiBuilder(RuntimeApi instance) {
this.fluent = this;
this.copyInstance(instance);
}
RuntimeApiFluent> fluent;
public RuntimeApi build() {
RuntimeApi buildable = new RuntimeApi();
buildable.setEnabled(fluent.isEnabled());
buildable.setPort(fluent.getPort());
return buildable;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy