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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectionSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionSettings
clone()
boolean
equals(Object obj)
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.int
hashCode()
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.String
toString()
Returns a string representation of this object; useful for testing and debugging.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.
-
-
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ConnectionSettings clone()
-
-