io.dekorate.openshift.config.RouteBuilder Maven / Gradle / Ivy
package io.dekorate.openshift.config;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class RouteBuilder extends RouteFluent implements VisitableBuilder{
public RouteBuilder() {
this(new Route());
}
public RouteBuilder(RouteFluent> fluent) {
this(fluent, new Route());
}
public RouteBuilder(RouteFluent> fluent,Route instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public RouteBuilder(Route instance) {
this.fluent = this;
this.copyInstance(instance);
}
RouteFluent> fluent;
public Route build() {
Route buildable = new Route(fluent.getExpose(),fluent.getHost(),fluent.getTargetPort(),fluent.getTls());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy