public BatchUpdateRecommendationStatusResult withFailedEntries(BatchUpdateRecommendationStatusFailedEntry... failedEntries) {
        if (this.failedEntries == null) {
            setFailedEntries(new java.util.ArrayList<BatchUpdateRecommendationStatusFailedEntry>(failedEntries.length));
        }
        for (BatchUpdateRecommendationStatusFailedEntry ele : failedEntries) {
            this.failedEntries.add(ele);
        }
        return this;
    }
<p>
A list of items with error details about each item, which could not be included or excluded.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFailedEntries(java.util.Collection)} or {@link #withFailedEntries(java.util.Collection)} if you want
to override the existing values.
</p>

@param failedEntries
       A list of items with error details about each item, which could not be included or excluded.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resiliencehub/src/main/java/com/amazonaws/services/resiliencehub/model/BatchUpdateRecommendationStatusResult.java