All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.dekorate.openshift.config.RouteBuilder Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
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