public AwsSecurityFinding withResources(java.util.Collection<Resource> resources) {
        setResources(resources);
        return this;
    }
<p>
A set of resource data types that describe the resources that the finding refers to.
</p>
<p>
Array Members: Minimum number of 1 item. Maximum number of 32 items.
</p>

@param resources
       A set of resource data types that describe the resources that the finding refers to.</p>
       <p>
       Array Members: Minimum number of 1 item. Maximum number of 32 items.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsSecurityFinding.java