public CheckDetail withFlaggedResources(Integer flaggedResources) {
        setFlaggedResources(flaggedResources);
        return this;
    }
<p>
Count of flagged resources associated to the check.
</p>

@param flaggedResources
       Count of flagged resources associated to the check.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-wellarchitected/src/main/java/com/amazonaws/services/wellarchitected/model/CheckDetail.java