public IngressSpecBuilder(Boolean validationEnabled){ this(new IngressSpec(), validationEnabled); } public IngressSpecBuilder(IngressSpecFluent<?> fluent){
public IngressSpecBuilder(IngressSpecFluent<?> fluent,Boolean validationEnabled){ this(fluent, new IngressSpec(), validationEnabled); } public IngressSpecBuilder(IngressSpecFluent<?> fluent,IngressSpec instance){
public IngressSpec build(){ IngressSpec buildable = new IngressSpec(fluent.getBackend(),fluent.getRules(),fluent.getTls()); validate(buildable); return buildable; }