public void setDocuments(java.util.Collection<Document> documents) {
        if (documents == null) {
            this.documents = null;
            return;
        }

        this.documents = new java.util.ArrayList<Document>(documents);
    }
<p>
The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
</p>

@param documents
       The list of documents for Amazon Kendra Intelligent Ranking to rescore or rank on.
aws-java-sdk-kendraranking/src/main/java/com/amazonaws/services/kendraranking/model/RescoreRequest.java