code: public ModifyDocumentPermissionRequest withAccountIdsToAdd(String... accountIdsToAdd) {
          if (this.accountIdsToAdd == null) {
              setAccountIdsToAdd(new com.amazonaws.internal.SdkInternalList<String>(accountIdsToAdd.length));
          }
          for (String ele : accountIdsToAdd) {
              this.accountIdsToAdd.add(ele);
          }
          return this;
      }
docs: <p>
  The AWS user accounts that should have access to the document. The account IDs can either be a group of account
  IDs or <i>All</i>.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAccountIdsToAdd(java.util.Collection)} or {@link #withAccountIdsToAdd(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param accountIdsToAdd
  The AWS user accounts that should have access to the document. The account IDs can either be a group of
  account IDs or <i>All</i>.
  @return Returns a reference to this object so that method calls can be chained together.