public VirtualGatewayHealthCheckPolicy withHealthyThreshold(Integer healthyThreshold) {
        setHealthyThreshold(healthyThreshold);
        return this;
    }
<p>
The number of consecutive successful health checks that must occur before declaring the listener healthy.
</p>

@param healthyThreshold
       The number of consecutive successful health checks that must occur before declaring the listener healthy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/VirtualGatewayHealthCheckPolicy.java