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
ConnectionSettingsattribute.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionSettingsclone()booleanequals(Object obj)IntegergetIdleTimeout()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.inthashCode()voidsetIdleTimeout(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.StringtoString()Returns a string representation of this object; useful for testing and debugging.ConnectionSettingswithIdleTimeout(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.
-
-
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConnectionSettings clone()
-
-