Class ConnectionSettings

java.lang.Object
com.amazonaws.services.elasticloadbalancing.model.ConnectionSettings
All Implemented Interfaces:
Serializable, Cloneable

public class ConnectionSettings extends Object implements Serializable, Cloneable

Information about the ConnectionSettings attribute.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    boolean
     
    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.
    int
     
    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.
    Returns a string representation of this object; useful for testing and debugging.
    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.

    Methods inherited from class java.lang.Object

    finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ConnectionSettings

      public ConnectionSettings()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ConnectionSettings clone()
      Overrides:
      clone in class Object