io.kroxylicious.proxy.config.tls.InsecureTlsBuilder Maven / Gradle / Ivy
package io.kroxylicious.proxy.config.tls;
import io.kroxylicious.proxy.config.model.VisitableBuilder;
public class InsecureTlsBuilder extends InsecureTlsFluent implements VisitableBuilder{
public InsecureTlsBuilder() {
this.fluent = this;
}
public InsecureTlsBuilder(InsecureTlsFluent> fluent) {
this.fluent = fluent;
}
public InsecureTlsBuilder(InsecureTlsFluent> fluent,InsecureTls instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public InsecureTlsBuilder(InsecureTls instance) {
this.fluent = this;
this.copyInstance(instance);
}
InsecureTlsFluent> fluent;
public InsecureTls build() {
InsecureTls buildable = new InsecureTls(fluent.isInsecure());
return buildable;
}
}