public SendMessageBatchResult withFailed(java.util.Collection<BatchResultErrorEntry> failed) {
        setFailed(failed);
        return this;
    }
<p>
A list of <code> <a>BatchResultErrorEntry</a> </code> items with error details about each message that can't be
enqueued.
</p>

@param failed
       A list of <code> <a>BatchResultErrorEntry</a> </code> items with error details about each message that
       can't be enqueued.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sqs/src/main/java/com/amazonaws/services/sqs/model/SendMessageBatchResult.java