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

io.fabric8.openshift.api.model.machineconfiguration.v1.ControllerCertificateBuilder Maven / Gradle / Ivy

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

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ControllerCertificateBuilder extends ControllerCertificateFluent implements VisitableBuilder{
  public ControllerCertificateBuilder() {
    this(new ControllerCertificate());
  }
  
  public ControllerCertificateBuilder(ControllerCertificateFluent fluent) {
    this(fluent, new ControllerCertificate());
  }
  
  public ControllerCertificateBuilder(ControllerCertificateFluent fluent,ControllerCertificate instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ControllerCertificateBuilder(ControllerCertificate instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ControllerCertificateFluent fluent;
  
  public ControllerCertificate build() {
    ControllerCertificate buildable = new ControllerCertificate(fluent.getBundleFile(),fluent.getNotAfter(),fluent.getNotBefore(),fluent.getSigner(),fluent.getSubject());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy