io.kroxylicious.proxy.config.tls.ServerOptionsFluent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kroxylicious-integration-test-support Show documentation
Show all versions of kroxylicious-integration-test-support Show documentation
Support code to simplify writing integration tests for filters
The newest version!
package io.kroxylicious.proxy.config.tls;
import java.lang.SuppressWarnings;
import io.kroxylicious.proxy.config.model.BaseFluent;
import java.lang.Object;
import java.lang.String;
/**
* Generated
*/
@SuppressWarnings("unchecked")
public class ServerOptionsFluent> extends BaseFluent{
public ServerOptionsFluent() {
}
public ServerOptionsFluent(ServerOptions instance) {
this.copyInstance(instance);
}
private TlsClientAuth clientAuth;
protected void copyInstance(ServerOptions instance) {
if (instance != null) {
this.withClientAuth(instance.clientAuth());
}
}
public TlsClientAuth getClientAuth() {
return this.clientAuth;
}
public A withClientAuth(TlsClientAuth clientAuth) {
this.clientAuth = clientAuth;
return (A) this;
}
public boolean hasClientAuth() {
return this.clientAuth != null;
}
public boolean equals(Object o) {
if (this == o) return true;
if (o == null || getClass() != o.getClass()) return false;
if (!super.equals(o)) return false;
ServerOptionsFluent that = (ServerOptionsFluent) o;
if (!java.util.Objects.equals(clientAuth, that.clientAuth)) return false;
return true;
}
public int hashCode() {
return java.util.Objects.hash(clientAuth, super.hashCode());
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (clientAuth != null) { sb.append("clientAuth:"); sb.append(clientAuth); }
sb.append("}");
return sb.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy