public ConnectionPoolSettingsFluent.HttpNested<A> editHttp(){ return withNewHttpLike(getHttp()); }
public ConnectionPoolSettingsFluent.TcpNested<A> editTcp(){ return withNewTcpLike(getTcp()); }
public class TcpNestedImpl<N> extends TCPSettingsFluentImpl<ConnectionPoolSettingsFluent.TcpNested<N>> implements ConnectionPoolSettingsFluent.TcpNested<N>,io.fabric8.kubernetes.api.builder.Nested<N>{ private final TCPSettingsBuilder builder; TcpNestedImpl(TCPSettings item){ this.builder = new TCPSettingsBuilder(this, item); } TcpNestedImpl(){ this.builder = new TCPSettingsBuilder(this); } public N and(){ return (N) ConnectionPoolSettingsFluentImpl.this.withTcp(builder.build()); } public N endTcp(){ return and(); } }
public boolean equals(Object o){ if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; ConnectionPoolSettingsBuilder that = (ConnectionPoolSettingsBuilder) o; if (fluent != null &&fluent != this ? !fluent.equals(that.fluent) :that.fluent != null &&fluent != this ) return false; if (validationEnabled != null ? !validationEnabled.equals(that.validationEnabled) :that.validationEnabled != null) return false; return true; }
public A withNewHttp(Integer http1MaxPendingRequests,Integer http2MaxRequests,Integer maxRequestsPerConnection,Integer maxRetries){ return (A)withHttp(new HTTPSettings(http1MaxPendingRequests, http2MaxRequests, maxRequestsPerConnection, maxRetries)); }
public ConnectionPoolSettingsFluent.HttpNested<A> editOrNewHttpLike(HTTPSettings item){ return withNewHttpLike(getHttp() != null ? getHttp(): item); }
public ConnectionPoolSettingsFluent.TcpNested<A> editOrNewTcpLike(TCPSettings item){ return withNewTcpLike(getTcp() != null ? getTcp(): item); }
public ConnectionPoolSettingsFluent.HttpNested<A> editOrNewHttp(){ return withNewHttpLike(getHttp() != null ? getHttp(): new HTTPSettingsBuilder().build()); }
public ConnectionPoolSettingsFluent.TcpNested<A> editOrNewTcp(){ return withNewTcpLike(getTcp() != null ? getTcp(): new TCPSettingsBuilder().build()); }