public void setDocumentVersions(java.util.Collection<DocumentVersionMetadata> documentVersions) {
        if (documentVersions == null) {
            this.documentVersions = null;
            return;
        }

        this.documentVersions = new java.util.ArrayList<DocumentVersionMetadata>(documentVersions);
    }
<p>
The document versions.
</p>

@param documentVersions
       The document versions.
aws-java-sdk-workdocs/src/main/java/com/amazonaws/services/workdocs/model/DescribeDocumentVersionsResult.java