io.github.microcks.operator.api.model.OpenShiftSpecBuilder Maven / Gradle / Ivy
package io.github.microcks.operator.api.model;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class OpenShiftSpecBuilder extends OpenShiftSpecFluent implements VisitableBuilder{
public OpenShiftSpecBuilder() {
this(new OpenShiftSpec());
}
public OpenShiftSpecBuilder(OpenShiftSpecFluent> fluent) {
this(fluent, new OpenShiftSpec());
}
public OpenShiftSpecBuilder(OpenShiftSpecFluent> fluent,OpenShiftSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public OpenShiftSpecBuilder(OpenShiftSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
OpenShiftSpecFluent> fluent;
public OpenShiftSpec build() {
OpenShiftSpec buildable = new OpenShiftSpec();
buildable.setRoute(fluent.buildRoute());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy