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

@param resourcesAffected
       The resources that the finding applies to.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/Finding.java