/** * <p> * If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away * from a deregistered or unhealthy instance. * </p> * <p> * For more information, see <a * href="http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html">Configure Connection * Draining</a> in the <i>Classic Load Balancers Guide</i>. * </p> * * @param connectionDraining * If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic * away from a deregistered or unhealthy instance.</p> * <p> * For more information, see <a * href="http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html">Configure * Connection Draining</a> in the <i>Classic Load Balancers Guide</i>. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerAttributes withConnectionDraining(ConnectionDraining connectionDraining) { setConnectionDraining(connectionDraining); return this; }
loadBalancerAttributes.setConnectionDraining(ConnectionDrainingStaxUnmarshaller.getInstance().unmarshall(context)); continue;
/** * <p> * If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic away * from a deregistered or unhealthy instance. * </p> * <p> * For more information, see <a * href="http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html">Configure Connection * Draining</a> in the <i>Classic Load Balancers Guide</i>. * </p> * * @param connectionDraining * If enabled, the load balancer allows existing requests to complete before the load balancer shifts traffic * away from a deregistered or unhealthy instance.</p> * <p> * For more information, see <a * href="http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/config-conn-drain.html">Configure * Connection Draining</a> in the <i>Classic Load Balancers Guide</i>. * @return Returns a reference to this object so that method calls can be chained together. */ public LoadBalancerAttributes withConnectionDraining(ConnectionDraining connectionDraining) { setConnectionDraining(connectionDraining); return this; }
loadBalancerAttributes.setConnectionDraining(ConnectionDrainingStaxUnmarshaller .getInstance().unmarshall(context)); continue;
loadBalancerAttributes.setConnectionDraining(ConnectionDrainingStaxUnmarshaller.getInstance().unmarshall(context)); continue;