public BatchDisableAlarmResult withErrorEntries(BatchAlarmActionErrorEntry... errorEntries) {
        if (this.errorEntries == null) {
            setErrorEntries(new java.util.ArrayList<BatchAlarmActionErrorEntry>(errorEntries.length));
        }
        for (BatchAlarmActionErrorEntry ele : errorEntries) {
            this.errorEntries.add(ele);
        }
        return this;
    }
<p>
A list of errors associated with the request, or <code>null</code> if there are no errors. Each error entry
contains an entry ID that helps you identify the entry that failed.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setErrorEntries(java.util.Collection)} or {@link #withErrorEntries(java.util.Collection)} if you want to
override the existing values.
</p>

@param errorEntries
       A list of errors associated with the request, or <code>null</code> if there are no errors. Each error
       entry contains an entry ID that helps you identify the entry that failed.
@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/BatchDisableAlarmResult.java