public PutEventsRequest withEventList(Event... eventList) {
        if (this.eventList == null) {
            setEventList(new java.util.ArrayList<Event>(eventList.length));
        }
        for (Event ele : eventList) {
            this.eventList.add(ele);
        }
        return this;
    }
<p>
A list of event data from the session.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEventList(java.util.Collection)} or {@link #withEventList(java.util.Collection)} if you want to
override the existing values.
</p>

@param eventList
       A list of event data from the session.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalizeevents/src/main/java/com/amazonaws/services/personalizeevents/model/PutEventsRequest.java