public void setBatchPutMessageErrorEntries(java.util.Collection<BatchPutMessageErrorEntry> batchPutMessageErrorEntries) {
        if (batchPutMessageErrorEntries == null) {
            this.batchPutMessageErrorEntries = null;
            return;
        }

        this.batchPutMessageErrorEntries = new java.util.ArrayList<BatchPutMessageErrorEntry>(batchPutMessageErrorEntries);
    }
<p>
A list of any errors encountered when sending the messages.
</p>

@param batchPutMessageErrorEntries
       A list of any errors encountered when sending the messages.
aws-java-sdk-ioteventsdata/src/main/java/com/amazonaws/services/ioteventsdata/model/BatchPutMessageResult.java