public void setResources(java.util.Collection<Resource> resources) {
        if (resources == null) {
            this.resources = null;
            return;
        }

        this.resources = new java.util.ArrayList<Resource>(resources);
    }
<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.
aws-java-sdk-ram/src/main/java/com/amazonaws/services/ram/model/ListPendingInvitationResourcesResult.java