public FilterLogEventsResult withEvents(java.util.Collection<FilteredLogEvent> events) {
        setEvents(events);
        return this;
    }
<p>
The matched events.
</p>

@param events
       The matched events.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/FilterLogEventsResult.java