public Event withResources(java.util.Collection<Resource> resources) {
        setResources(resources);
        return this;
    }
<p>
A list of resources referenced by the event returned.
</p>

@param resources
       A list of resources referenced by the event returned.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/Event.java