public BatchPutMessageResult withBatchPutMessageErrorEntries(java.util.Collection<BatchPutMessageErrorEntry> batchPutMessageErrorEntries) {
        setBatchPutMessageErrorEntries(batchPutMessageErrorEntries);
        return this;
    }
<p>
A list of any errors encountered when sending the messages.
</p>

@param batchPutMessageErrorEntries
       A list of any errors encountered when sending the messages.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ioteventsdata/src/main/java/com/amazonaws/services/ioteventsdata/model/BatchPutMessageResult.java