public void setThresholdCount(Integer thresholdCount) {
        this.thresholdCount = thresholdCount;
    }
<p>
The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or to set
an unhealthy endpoint to healthy. The default value is 3.
</p>

@param thresholdCount
       The number of consecutive health checks required to set the state of a healthy endpoint to unhealthy, or
       to set an unhealthy endpoint to healthy. The default value is 3.
aws-java-sdk-globalaccelerator/src/main/java/com/amazonaws/services/globalaccelerator/model/CreateEndpointGroupRequest.java