|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.elasticloadbalancing.model.ConnectionDraining
public class ConnectionDraining
The ConnectionDraining
data type.
Constructor Summary | |
---|---|
ConnectionDraining()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
Boolean |
getEnabled()
Specifies whether connection draining is enabled for the load balancer. |
Integer |
getTimeout()
Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances. |
int |
hashCode()
|
Boolean |
isEnabled()
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)
Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ConnectionDraining |
withEnabled(Boolean enabled)
Specifies whether connection draining is enabled for the load balancer. |
ConnectionDraining |
withTimeout(Integer timeout)
Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionDraining()
Method Detail |
---|
public Boolean isEnabled()
public void setEnabled(Boolean enabled)
enabled
- Specifies whether connection draining is enabled for the load
balancer.public ConnectionDraining withEnabled(Boolean enabled)
Returns a reference to this object so that method calls can be chained together.
enabled
- Specifies whether connection draining is enabled for the load
balancer.
public Boolean getEnabled()
public Integer getTimeout()
public void setTimeout(Integer timeout)
timeout
- Specifies the maximum time (in seconds) to keep the existing
connections open before deregistering the instances.public ConnectionDraining withTimeout(Integer timeout)
Returns a reference to this object so that method calls can be chained together.
timeout
- Specifies the maximum time (in seconds) to keep the existing
connections open before deregistering the instances.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |