public void setResultItems(java.util.Collection<QueryResultItem> resultItems) {
        if (resultItems == null) {
            this.resultItems = null;
            return;
        }

        this.resultItems = new java.util.ArrayList<QueryResultItem>(resultItems);
    }
<p>
The results of the search.
</p>

@param resultItems
       The results of the search.
aws-java-sdk-kendra/src/main/java/com/amazonaws/services/kendra/model/QueryResult.java