public LookupEventsResult withEvents(java.util.Collection<Event> events) {
        setEvents(events);
        return this;
    }
<p>
A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is
sorted by time. The most recent event is listed first.
</p>

@param events
       A list of events returned based on the lookup attributes specified and the CloudTrail event. The events
       list is sorted by time. The most recent event is listed first.
@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/LookupEventsResult.java