public EmailInsights withEvents(java.util.Collection<InsightsEvent> events) {
        setEvents(events);
        return this;
    }
<p>
A list of events associated with the sent email.
</p>

@param events
       A list of events associated with the sent email.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/EmailInsights.java