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

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

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

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class IngressSpecBuilder extends IngressSpecFluent implements VisitableBuilder{
  public IngressSpecBuilder() {
    this(new IngressSpec());
  }
  
  public IngressSpecBuilder(IngressSpecFluent fluent) {
    this(fluent, new IngressSpec());
  }
  
  public IngressSpecBuilder(IngressSpecFluent fluent,IngressSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public IngressSpecBuilder(IngressSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  IngressSpecFluent fluent;
  
  public IngressSpec build() {
    IngressSpec buildable = new IngressSpec(fluent.getHttpOption(),fluent.buildRules(),fluent.buildTls());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy