public class ConnectionSettings
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Information about the ConnectionSettings
attribute.
Modifier and Type | Field and Description |
---|---|
private java.lang.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.
|
Constructor and Description |
---|
ConnectionSettings() |
Modifier and Type | Method and Description |
---|---|
ConnectionSettings |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.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(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ConnectionSettings |
withIdleTimeout(java.lang.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.
|
private java.lang.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.
public void setIdleTimeout(java.lang.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.
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.public java.lang.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.
public ConnectionSettings withIdleTimeout(java.lang.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.
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.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ConnectionSettings clone()
clone
in class java.lang.Object