@Deprecated
    public AwsConfig setConnectionTimeoutSeconds(final int connectionTimeoutSeconds) {
        if (connectionTimeoutSeconds < 0) {
            throw new IllegalArgumentException("connection timeout can't be smaller than 0");
        }
        this.getProperties().put("connection-timeout-seconds", String.valueOf(connectionTimeoutSeconds));
        return this;
    }
@ Deprecated public AwsConfig setConnectionTimeoutSeconds ( final int connectionTimeoutSeconds ) { if ( connectionTimeoutSeconds < 0 ) { throw new IllegalArgumentException ( "connection timeout can't be smaller than 0" ) ; } this . getProperties ( ) . put ( "connection-timeout-seconds" , String . valueOf ( connectionTimeoutSeconds ) ) ; return this ; }
Sets the connect timeout in seconds. See {@link TcpIpConfig#setConnectionTimeoutSeconds(int)} for more information.

@param connectionTimeoutSeconds the connectionTimeoutSeconds (connection timeout in seconds) to set
@return the updated AwsConfig
@see #getConnectionTimeoutSeconds()
@see TcpIpConfig#setConnectionTimeoutSeconds(int)
@deprecated use {@link AliasedDiscoveryConfig#setProperty(String, String)} instead