Class ConnectionSettings

    • Constructor Detail

      • ConnectionSettings

        public ConnectionSettings()
    • Method Detail

      • setIdleTimeout

        public void setIdleTimeout​(Integer idleTimeout)

        The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.

        Parameters:
        idleTimeout - The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
      • getIdleTimeout

        public Integer getIdleTimeout()

        The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.

        Returns:
        The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
      • withIdleTimeout

        public ConnectionSettings withIdleTimeout​(Integer idleTimeout)

        The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.

        Parameters:
        idleTimeout - The time, in seconds, that the connection is allowed to be idle (no data has been sent over the connection) before it is closed by the load balancer.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object