public BatchGetAssetPropertyAggregatesResult withErrorEntries(BatchGetAssetPropertyAggregatesErrorEntry... errorEntries) {
        if (this.errorEntries == null) {
            setErrorEntries(new java.util.ArrayList<BatchGetAssetPropertyAggregatesErrorEntry>(errorEntries.length));
        }
        for (BatchGetAssetPropertyAggregatesErrorEntry ele : errorEntries) {
            this.errorEntries.add(ele);
        }
        return this;
    }
<p>
A list of the errors (if any) associated with the batch request. Each error entry contains the
<code>entryId</code> of 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 the errors (if any) associated with the batch request. Each error entry contains the
       <code>entryId</code> of the entry that failed.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/BatchGetAssetPropertyAggregatesResult.java