Interface ConnectionDraining.Builder

  • Method Details

    • enabled

      Specifies whether connection draining is enabled for the load balancer.

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

      The maximum time, in seconds, to keep the existing connections open before deregistering the instances.

      Parameters:
      timeout - The maximum time, in seconds, to keep the existing connections open before deregistering the instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.