code: public void setDocumentVersions(java.util.Collection<DocumentVersionInfo> documentVersions) {
          if (documentVersions == null) {
              this.documentVersions = null;
              return;
          }
  
          this.documentVersions = new com.amazonaws.internal.SdkInternalList<DocumentVersionInfo>(documentVersions);
      }
docs: <p>
  The document versions.
  </p>
  
  @param documentVersions
  The document versions.