|
|||||||
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(java.lang.Object obj)
|
java.lang.Boolean |
getEnabled()
Specifies whether connection draining is enabled for the load balancer. |
java.lang.Integer |
getTimeout()
Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances. |
int |
hashCode()
|
java.lang.Boolean |
isEnabled()
Specifies whether connection draining is enabled for the load balancer. |
void |
setEnabled(java.lang.Boolean enabled)
Specifies whether connection draining is enabled for the load balancer. |
void |
setTimeout(java.lang.Integer timeout)
Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances. |
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
ConnectionDraining |
withEnabled(java.lang.Boolean enabled)
Specifies whether connection draining is enabled for the load balancer. |
ConnectionDraining |
withTimeout(java.lang.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 |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConnectionDraining()
Method Detail |
---|
public java.lang.Boolean isEnabled()
public void setEnabled(java.lang.Boolean enabled)
enabled
- Specifies whether connection draining is enabled for the load
balancer.public ConnectionDraining withEnabled(java.lang.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 java.lang.Boolean getEnabled()
public java.lang.Integer getTimeout()
public void setTimeout(java.lang.Integer timeout)
timeout
- Specifies the maximum time (in seconds) to keep the existing
connections open before deregistering the instances.public ConnectionDraining withTimeout(java.lang.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 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
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |