Class ConnectionDraining
java.lang.Object
com.amazonaws.services.elasticloadbalancing.model.ConnectionDraining
- All Implemented Interfaces:
Serializable
,Cloneable
Information about the ConnectionDraining
attribute.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Specifies whether connection draining is enabled for the load balancer.The maximum time, in seconds, to keep the existing connections open before deregistering the instances.int
hashCode()
Specifies whether connection draining is enabled for the load balancer.void
setEnabled
(Boolean enabled) Specifies whether connection draining is enabled for the load balancer.void
setTimeout
(Integer timeout) The maximum time, in seconds, to keep the existing connections open before deregistering the instances.toString()
Returns a string representation of this object; useful for testing and debugging.withEnabled
(Boolean enabled) Specifies whether connection draining is enabled for the load balancer.withTimeout
(Integer timeout) The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
-
Constructor Details
-
ConnectionDraining
public ConnectionDraining()
-
-
Method Details
-
setEnabled
Specifies whether connection draining is enabled for the load balancer.
- Parameters:
enabled
- Specifies whether connection draining is enabled for the load balancer.
-
getEnabled
Specifies whether connection draining is enabled for the load balancer.
- Returns:
- Specifies whether connection draining is enabled for the load balancer.
-
withEnabled
Specifies whether connection draining is enabled for the load balancer.
- Parameters:
enabled
- Specifies whether connection draining is enabled for the load balancer.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
Specifies whether connection draining is enabled for the load balancer.
- Returns:
- Specifies whether connection draining is enabled for the load balancer.
-
setTimeout
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
- Parameters:
timeout
- The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
-
getTimeout
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
- Returns:
- The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
-
withTimeout
The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
- Parameters:
timeout
- The maximum time, in seconds, to keep the existing connections open before deregistering the instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-