com.amazonaws.services.elasticloadbalancing.model
Class ConnectionDraining

java.lang.Object
  extended by com.amazonaws.services.elasticloadbalancing.model.ConnectionDraining
All Implemented Interfaces:
java.io.Serializable

public class ConnectionDraining
extends java.lang.Object
implements java.io.Serializable

The ConnectionDraining data type.

See Also:
Serialized Form

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

ConnectionDraining

public ConnectionDraining()
Method Detail

isEnabled

public java.lang.Boolean isEnabled()
Specifies whether connection draining is enabled for the load balancer.

Returns:
Specifies whether connection draining is enabled for the load balancer.

setEnabled

public void setEnabled(java.lang.Boolean enabled)
Specifies whether connection draining is enabled for the load balancer.

Parameters:
enabled - Specifies whether connection draining is enabled for the load balancer.

withEnabled

public ConnectionDraining withEnabled(java.lang.Boolean enabled)
Specifies whether connection draining is enabled for the load balancer.

Returns a reference to this object so that method calls can be chained together.

Parameters:
enabled - Specifies whether connection draining is enabled for the load balancer.
Returns:
A reference to this updated object so that method calls can be chained together.

getEnabled

public java.lang.Boolean getEnabled()
Specifies whether connection draining is enabled for the load balancer.

Returns:
Specifies whether connection draining is enabled for the load balancer.

getTimeout

public java.lang.Integer getTimeout()
Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances.

Returns:
Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances.

setTimeout

public void setTimeout(java.lang.Integer timeout)
Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances.

Parameters:
timeout - Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances.

withTimeout

public ConnectionDraining withTimeout(java.lang.Integer timeout)
Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances.

Returns a reference to this object so that method calls can be chained together.

Parameters:
timeout - Specifies the maximum time (in seconds) to keep the existing connections open before deregistering the instances.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.