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

io.fabric8.knative.internal.networking.v1alpha1.IngressBackendSplitBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.knative.internal.networking.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class IngressBackendSplitBuilder extends IngressBackendSplitFluent implements VisitableBuilder{
  public IngressBackendSplitBuilder() {
    this(new IngressBackendSplit());
  }
  
  public IngressBackendSplitBuilder(IngressBackendSplitFluent fluent) {
    this(fluent, new IngressBackendSplit());
  }
  
  public IngressBackendSplitBuilder(IngressBackendSplitFluent fluent,IngressBackendSplit instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public IngressBackendSplitBuilder(IngressBackendSplit instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  IngressBackendSplitFluent fluent;
  
  public IngressBackendSplit build() {
    IngressBackendSplit buildable = new IngressBackendSplit(fluent.getAppendHeaders(),fluent.getPercent(),fluent.getServiceName(),fluent.getServiceNamespace(),fluent.buildServicePort());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy