public BatchGetFindingsResult withFailedFindings(BatchGetFindingsError... failedFindings) {
        if (this.failedFindings == null) {
            setFailedFindings(new java.util.ArrayList<BatchGetFindingsError>(failedFindings.length));
        }
        for (BatchGetFindingsError ele : failedFindings) {
            this.failedFindings.add(ele);
        }
        return this;
    }
<p>
A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
<code>scanName</code>, <code>findingId</code>, <code>errorCode</code> and error <code>message</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFailedFindings(java.util.Collection)} or {@link #withFailedFindings(java.util.Collection)} if you want
to override the existing values.
</p>

@param failedFindings
       A list of errors for individual findings which were not fetched. Each BatchGetFindingsError contains the
       <code>scanName</code>, <code>findingId</code>, <code>errorCode</code> and error <code>message</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codegurusecurity/src/main/java/com/amazonaws/services/codegurusecurity/model/BatchGetFindingsResult.java