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

io.fabric8.certmanager.api.model.v1.CAIssuerBuilder Maven / Gradle / Ivy

The newest version!
package io.fabric8.certmanager.api.model.v1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class CAIssuerBuilder extends CAIssuerFluent implements VisitableBuilder{
  public CAIssuerBuilder() {
    this(new CAIssuer());
  }
  
  public CAIssuerBuilder(CAIssuerFluent fluent) {
    this(fluent, new CAIssuer());
  }
  
  public CAIssuerBuilder(CAIssuerFluent fluent,CAIssuer instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public CAIssuerBuilder(CAIssuer instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  CAIssuerFluent fluent;
  
  public CAIssuer build() {
    CAIssuer buildable = new CAIssuer(fluent.getCrlDistributionPoints(),fluent.getIssuingCertificateURLs(),fluent.getOcspServers(),fluent.getSecretName());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy