public class ConnectionSettings
extends java.lang.Object
implements java.io.Serializable
Information about the ConnectionSettings
attribute.
Constructor and Description |
---|
ConnectionSettings() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
Constraints:
Range: 1 - 3600
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.
Constraints:
Range: 1 - 3600
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 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.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 1 - 3600
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.