Uses of Class
com.amazonaws.services.elasticloadbalancing.model.ConnectionDraining
Packages that use ConnectionDraining
-
Uses of ConnectionDraining in com.amazonaws.services.elasticloadbalancing.model
Methods in com.amazonaws.services.elasticloadbalancing.model that return ConnectionDrainingModifier and TypeMethodDescriptionConnectionDraining.clone()
LoadBalancerAttributes.getConnectionDraining()
If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away from a deregistered or unhealthy back-end instance.ConnectionDraining.withEnabled
(Boolean enabled) Specifies whether connection draining is enabled for the load balancer.ConnectionDraining.withTimeout
(Integer timeout) The maximum time, in seconds, to keep the existing connections open before deregistering the instances.Methods in com.amazonaws.services.elasticloadbalancing.model with parameters of type ConnectionDrainingModifier and TypeMethodDescriptionvoid
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 back-end instance.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 back-end instance.