public PutEventsResult withEntries(java.util.Collection<PutEventsResultEntry> entries) {
        setEntries(entries);
        return this;
    }
<p>
The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry has the
event ID in it. Otherwise, you can use the error code and error message to identify the problem with the entry.
</p>

@param entries
       The successfully and unsuccessfully ingested events results. If the ingestion was successful, the entry
       has the event ID in it. Otherwise, you can use the error code and error message to identify the problem
       with the entry.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/PutEventsResult.java