public ModifyTargetGroupRequest withUnhealthyThresholdCount(Integer unhealthyThresholdCount) {
        setUnhealthyThresholdCount(unhealthyThresholdCount);
        return this;
    }
<p>
The number of consecutive health check failures required before considering the target unhealthy.
</p>

@param unhealthyThresholdCount
       The number of consecutive health check failures required before considering the target unhealthy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticloadbalancingv2/src/main/java/com/amazonaws/services/elasticloadbalancingv2/model/ModifyTargetGroupRequest.java