public ListPendingInvitationResourcesResult withResources(java.util.Collection<Resource> resources) {
        setResources(resources);
        return this;
    }
<p>
An array of objects that contain the information about the resources included the specified resource share.
</p>

@param resources
       An array of objects that contain the information about the resources included the specified resource
       share.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/ListPendingInvitationResourcesResult.java