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;
public class SecretTLSBuilder extends SecretTLSFluent implements VisitableBuilder{
  public SecretTLSBuilder() {
    this(new SecretTLS());
  }
  
  public SecretTLSBuilder(SecretTLSFluent fluent) {
    this(fluent, new SecretTLS());
  }
  
  public SecretTLSBuilder(SecretTLSFluent fluent,SecretTLS instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public SecretTLSBuilder(SecretTLS instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  SecretTLSFluent fluent;
  
  public SecretTLS build() {
    SecretTLS buildable = new SecretTLS(fluent.getSecretName());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy