public ListGroupResourcesResult withResources(java.util.Collection<ListGroupResourcesItem> resources) {
        setResources(resources);
        return this;
    }
<p>
An array of resources from which you can determine each resource's identity, type, and group membership status.
</p>

@param resources
       An array of resources from which you can determine each resource's identity, type, and group membership
       status.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resourcegroups/src/main/java/com/amazonaws/services/resourcegroups/model/ListGroupResourcesResult.java