public PutProjectEventsResult withEventResults(PutProjectEventsResultEntry... eventResults) {
        if (this.eventResults == null) {
            setEventResults(new java.util.ArrayList<PutProjectEventsResultEntry>(eventResults.length));
        }
        for (PutProjectEventsResultEntry ele : eventResults) {
            this.eventResults.add(ele);
        }
        return this;
    }
<p>
A structure that contains Evidently's response to the sent events, including an event ID and error codes, if any.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEventResults(java.util.Collection)} or {@link #withEventResults(java.util.Collection)} if you want to
override the existing values.
</p>

@param eventResults
       A structure that contains Evidently's response to the sent events, including an event ID and error codes,
       if any.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatchevidently/src/main/java/com/amazonaws/services/cloudwatchevidently/model/PutProjectEventsResult.java