public void setFailed(java.util.Collection<ResultErrorEntry> failed) {
        if (failed == null) {
            this.failed = null;
            return;
        }

        this.failed = new java.util.ArrayList<ResultErrorEntry>(failed);
    }
<p>
Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the error
code and error message returned for events that could not be ingested.
</p>

@param failed
       Lists events in the provided event payload that could not be ingested into CloudTrail, and includes the
       error code and error message returned for events that could not be ingested.
aws-java-sdk-cloudtraildata/src/main/java/com/amazonaws/services/cloudtraildata/model/PutAuditEventsResult.java