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

io.fabric8.knative.serving.v1beta1.SecretTLSBuilder Maven / Gradle / Ivy

package io.fabric8.knative.serving.v1beta1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
public class SecretTLSBuilder extends SecretTLSFluent implements VisitableBuilder{
  public SecretTLSBuilder() {
    this(false);
  }
  public SecretTLSBuilder(Boolean validationEnabled) {
    this(new SecretTLS(), validationEnabled);
  }
  public SecretTLSBuilder(SecretTLSFluent fluent) {
    this(fluent, false);
  }
  public SecretTLSBuilder(SecretTLSFluent fluent,Boolean validationEnabled) {
    this(fluent, new SecretTLS(), validationEnabled);
  }
  public SecretTLSBuilder(SecretTLSFluent fluent,SecretTLS instance) {
    this(fluent, instance, false);
  }
  public SecretTLSBuilder(SecretTLSFluent fluent,SecretTLS instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    instance = (instance != null ? instance : new SecretTLS());

    if (instance != null) {
      fluent.withSecretName(instance.getSecretName());
      fluent.withSecretName(instance.getSecretName());
    }
    this.validationEnabled = validationEnabled; 
  }
  public SecretTLSBuilder(SecretTLS instance) {
    this(instance,false);
  }
  public SecretTLSBuilder(SecretTLS instance,Boolean validationEnabled) {
    this.fluent = this; 
    instance = (instance != null ? instance : new SecretTLS());

    if (instance != null) {
      this.withSecretName(instance.getSecretName());
      this.withSecretName(instance.getSecretName());
    }
    this.validationEnabled = validationEnabled; 
  }
  SecretTLSFluent fluent;
  Boolean validationEnabled;
  public SecretTLS build() {
    SecretTLS buildable = new SecretTLS(fluent.getSecretName());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy