Class TargetGroupTargetHealthStateArgs.Builder

    • Method Detail

      • enableUnhealthyConnectionTermination

        public TargetGroupTargetHealthStateArgs.Builder enableUnhealthyConnectionTermination​(com.pulumi.core.Output<java.lang.Boolean> enableUnhealthyConnectionTermination)
        Parameters:
        enableUnhealthyConnectionTermination - Indicates whether the load balancer terminates connections to unhealthy targets. Possible values are `true` or `false`. Default: `true`.
        Returns:
        builder
      • enableUnhealthyConnectionTermination

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

        public TargetGroupTargetHealthStateArgs.Builder unhealthyDrainingInterval​(@Nullable
                                                                                  com.pulumi.core.Output<java.lang.Integer> unhealthyDrainingInterval)
        Parameters:
        unhealthyDrainingInterval - 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`.
        Returns:
        builder
      • unhealthyDrainingInterval

        public TargetGroupTargetHealthStateArgs.Builder unhealthyDrainingInterval​(java.lang.Integer unhealthyDrainingInterval)
        Parameters:
        unhealthyDrainingInterval - 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`.
        Returns:
        builder