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

        this.documents = new java.util.ArrayList<DocumentMetadata>(documents);
    }
<p>
The documents in the specified collection.
</p>

@param documents
       The documents in the specified collection.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/GetResourcesResult.java