public PutPartnerEventsResult withFailedEntryCount(Integer failedEntryCount) {
        setFailedEntryCount(failedEntryCount);
        return this;
    }
<p>
The number of events from this operation that could not be written to the partner event bus.
</p>

@param failedEntryCount
       The number of events from this operation that could not be written to the partner event bus.
@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/PutPartnerEventsResult.java