public IngestedFilesSummary withDiscardedFiles(S3Object... discardedFiles) {
        if (this.discardedFiles == null) {
            setDiscardedFiles(new java.util.ArrayList<S3Object>(discardedFiles.length));
        }
        for (S3Object ele : discardedFiles) {
            this.discardedFiles.add(ele);
        }
        return this;
    }
<p>
Indicates the number of files that were discarded. A file could be discarded because its format is invalid (for
example, a jpg or pdf) or not readable.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDiscardedFiles(java.util.Collection)} or {@link #withDiscardedFiles(java.util.Collection)} if you want
to override the existing values.
</p>

@param discardedFiles
       Indicates the number of files that were discarded. A file could be discarded because its format is invalid
       (for example, a jpg or pdf) or not readable.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutequipment/src/main/java/com/amazonaws/services/lookoutequipment/model/IngestedFilesSummary.java