public ListDocumentVersionsResult withDocumentVersions(java.util.Collection<DocumentVersionInfo> documentVersions) {
        setDocumentVersions(documentVersions);
        return this;
    }
<p>
The document versions.
</p>

@param documentVersions
       The document versions.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/ListDocumentVersionsResult.java