Class TargetGroupTargetHealthState


  • public final class TargetGroupTargetHealthState
    extends java.lang.Object
    • Method Detail

      • enableUnhealthyConnectionTermination

        public java.lang.Boolean enableUnhealthyConnectionTermination()
        Returns:
        Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are `true` or `false`. Default: `true`.
      • unhealthyDrainingInterval

        public java.util.Optional<java.lang.Integer> unhealthyDrainingInterval()
        Returns:
        Indicates the time to wait for in-flight requests to complete when a target becomes unhealthy. The range is `0-360000`. This value has to be set only if `enableUnhealthyConnectionTermination` is set to false. Default: `0`.