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

io.fabric8.kubernetes.api.model.extensions.IngressTLSBuilder Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model.extensions;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class IngressTLSBuilder extends IngressTLSFluent implements VisitableBuilder{
  public IngressTLSBuilder() {
    this(new IngressTLS());
  }
  
  public IngressTLSBuilder(IngressTLSFluent fluent) {
    this(fluent, new IngressTLS());
  }
  
  public IngressTLSBuilder(IngressTLSFluent fluent,IngressTLS instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public IngressTLSBuilder(IngressTLS instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  IngressTLSFluent fluent;
  
  public IngressTLS build() {
    IngressTLS buildable = new IngressTLS(fluent.getHosts(),fluent.getSecretName());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy