public void setResultList(java.util.Collection<BatchDetectSentimentItemResult> resultList) {
        if (resultList == null) {
            this.resultList = null;
            return;
        }

        this.resultList = new java.util.ArrayList<BatchDetectSentimentItemResult>(resultList);
    }
<p>
A list of objects containing the results of the operation. The results are sorted in ascending order by the
<code>Index</code> field and match the order of the documents in the input list. If all of the documents contain
an error, the <code>ResultList</code> is empty.
</p>

@param resultList
       A list of objects containing the results of the operation. The results are sorted in ascending order by
       the <code>Index</code> field and match the order of the documents in the input list. If all of the
       documents contain an error, the <code>ResultList</code> is empty.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/BatchDetectSentimentResult.java