public PutPartnerEventsRequest withEntries(java.util.Collection<PutPartnerEventsRequestEntry> entries) {
        setEntries(entries);
        return this;
    }
<p>
The list of events to write to the event bus.
</p>

@param entries
       The list of events to write to the event bus.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-eventbridge/src/main/java/com/amazonaws/services/eventbridge/model/PutPartnerEventsRequest.java