Package | Description |
---|---|
com.amazonaws.services.elasticloadbalancing.model |
Classes modeling the various types represented by AmazonElasticLoadBalancing
|
Modifier and Type | Method and Description |
---|---|
ConnectionDraining |
LoadBalancerAttributes.getConnectionDraining()
If enabled, the load balancer allows existing requests to complete before
the load balancer shifts traffic away from a deregistered or unhealthy
instance.
|
ConnectionDraining |
ConnectionDraining.withEnabled(Boolean enabled)
Specifies whether connection draining is enabled for the load balancer.
|
ConnectionDraining |
ConnectionDraining.withTimeout(Integer timeout)
The maximum time, in seconds, to keep the existing connections open
before deregistering the instances.
|
Modifier and Type | Method and Description |
---|---|
void |
LoadBalancerAttributes.setConnectionDraining(ConnectionDraining connectionDraining)
If enabled, the load balancer allows existing requests to complete before
the load balancer shifts traffic away from a deregistered or unhealthy
instance.
|
LoadBalancerAttributes |
LoadBalancerAttributes.withConnectionDraining(ConnectionDraining connectionDraining)
If enabled, the load balancer allows existing requests to complete before
the load balancer shifts traffic away from a deregistered or unhealthy
instance.
|
Copyright © 2018. All rights reserved.