public RecommendationResourcesAggregates withErrorCount(Long errorCount) {
        setErrorCount(errorCount);
        return this;
    }
<p>
The number of AWS resources that were flagged to have errors according to the Trusted Advisor check
</p>

@param errorCount
       The number of AWS resources that were flagged to have errors according to the Trusted Advisor check
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-trustedadvisor/src/main/java/com/amazonaws/services/trustedadvisor/model/RecommendationResourcesAggregates.java