public GetAppMonitorDataResult withEvents(java.util.Collection<String> events) {
        setEvents(events);
        return this;
    }
<p>
The events that RUM collected that match your request.
</p>

@param events
       The events that RUM collected that match your request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchrum/src/main/java/com/amazonaws/services/cloudwatchrum/model/GetAppMonitorDataResult.java