public Finding withResourcesAffected(ResourcesAffected resourcesAffected) {
        setResourcesAffected(resourcesAffected);
        return this;
    }
<p>
The resources that the finding applies to.
</p>

@param resourcesAffected
       The resources that the finding applies to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/Finding.java