public class ConnectionSettings extends Object implements Serializable
The ConnectionSettings
data type.
Constructor and Description |
---|
ConnectionSettings() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getIdleTimeout()
Specifies the time (in seconds) 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)
Specifies the time (in seconds) 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)
Specifies the time (in seconds) the connection is allowed to be idle
(no data has been sent over the connection) before it is closed by the
load balancer.
|
public Integer getIdleTimeout()
Constraints:
Range: 1 - 3600
public void setIdleTimeout(Integer idleTimeout)
Constraints:
Range: 1 - 3600
idleTimeout
- Specifies the time (in seconds) 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(Integer idleTimeout)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 3600
idleTimeout
- Specifies the time (in seconds) the connection is allowed to be idle
(no data has been sent over the connection) before it is closed by the
load balancer.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.