public PutEventsRequest withEntries(java.util.Collection<PutEventsRequestEntry> entries) {
        setEntries(entries);
        return this;
    }
<p>
The entry that defines an event in your system. You can specify several parameters for the entry such as the
source and type of the event, resources associated with the event, and so on.
</p>

@param entries
       The entry that defines an event in your system. You can specify several parameters for the entry such as
       the source and type of the event, resources associated with the event, and so on.
@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/PutEventsRequest.java