Interface ConnectionDraining.Builder

    • Method Detail

      • enabled

        ConnectionDraining.Builder enabled​(Boolean 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

        ConnectionDraining.Builder timeout​(Integer 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.