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

io.fabric8.certmanager.api.model.acme.v1.ChallengeSpecBuilder Maven / Gradle / Ivy

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

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ChallengeSpecBuilder extends ChallengeSpecFluent implements VisitableBuilder{
  public ChallengeSpecBuilder() {
    this(new ChallengeSpec());
  }
  
  public ChallengeSpecBuilder(ChallengeSpecFluent fluent) {
    this(fluent, new ChallengeSpec());
  }
  
  public ChallengeSpecBuilder(ChallengeSpecFluent fluent,ChallengeSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ChallengeSpecBuilder(ChallengeSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ChallengeSpecFluent fluent;
  
  public ChallengeSpec build() {
    ChallengeSpec buildable = new ChallengeSpec(fluent.getAuthorizationURL(),fluent.getDnsName(),fluent.buildIssuerRef(),fluent.getKey(),fluent.buildSolver(),fluent.getToken(),fluent.getType(),fluent.getUrl(),fluent.getWildcard());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy