io.fabric8.openshift.api.model.RouteIngressBuilder Maven / Gradle / Ivy
package io.fabric8.openshift.api.model;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class RouteIngressBuilder extends RouteIngressFluent implements VisitableBuilder{
public RouteIngressBuilder() {
this(new RouteIngress());
}
public RouteIngressBuilder(RouteIngressFluent> fluent) {
this(fluent, new RouteIngress());
}
public RouteIngressBuilder(RouteIngressFluent> fluent,RouteIngress instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public RouteIngressBuilder(RouteIngress instance) {
this.fluent = this;
this.copyInstance(instance);
}
RouteIngressFluent> fluent;
public RouteIngress build() {
RouteIngress buildable = new RouteIngress(fluent.buildConditions(),fluent.getHost(),fluent.getRouterCanonicalHostname(),fluent.getRouterName(),fluent.getWildcardPolicy());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}