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

io.kubernetes.client.openapi.models.V1IngressSpecBuilder Maven / Gradle / Ivy

There is a newer version: 24.0.0-legacy
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1IngressSpecBuilder extends V1IngressSpecFluent implements VisitableBuilder{
  public V1IngressSpecBuilder() {
    this(new V1IngressSpec());
  }
  
  public V1IngressSpecBuilder(V1IngressSpecFluent fluent) {
    this(fluent, new V1IngressSpec());
  }
  
  public V1IngressSpecBuilder(V1IngressSpecFluent fluent,V1IngressSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1IngressSpecBuilder(V1IngressSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1IngressSpecFluent fluent;
  
  public V1IngressSpec build() {
    V1IngressSpec buildable = new V1IngressSpec();
    buildable.setDefaultBackend(fluent.buildDefaultBackend());
    buildable.setIngressClassName(fluent.getIngressClassName());
    buildable.setRules(fluent.buildRules());
    buildable.setTls(fluent.buildTls());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy