@Deprecated
    public final PoolingHttpClientConnectionManagerBuilder setValidateAfterInactivity(final TimeValue validateAfterInactivity) {
        setDefaultConnectionConfig(ConnectionConfig.custom()
                .setValidateAfterInactivity(validateAfterInactivity)
                .build());
        return this;
    }
Sets period after inactivity after which persistent
connections must be checked to ensure they are still valid.

@return this instance.
@deprecated Use {@link #setDefaultConnectionConfig(ConnectionConfig)}.
httpclient5/src/main/java/org/apache/hc/client5/http/impl/io/PoolingHttpClientConnectionManagerBuilder.java