code: public ListDocumentsResult withDocumentIdentifiers(DocumentIdentifier... documentIdentifiers) {
          if (this.documentIdentifiers == null) {
              setDocumentIdentifiers(new com.amazonaws.internal.SdkInternalList<DocumentIdentifier>(documentIdentifiers.length));
          }
          for (DocumentIdentifier ele : documentIdentifiers) {
              this.documentIdentifiers.add(ele);
          }
          return this;
      }
docs: <p>
  The names of the Systems Manager documents.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDocumentIdentifiers(java.util.Collection)} or {@link #withDocumentIdentifiers(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param documentIdentifiers
  The names of the Systems Manager documents.
  @return Returns a reference to this object so that method calls can be chained together.