code: public void setDirectoryIds(java.util.Collection<String> directoryIds) {
          if (directoryIds == null) {
              this.directoryIds = null;
              return;
          }
  
          this.directoryIds = new com.amazonaws.internal.SdkInternalList<String>(directoryIds);
      }
docs: <p>
  A list of identifiers of the directories for which to obtain the information. If this member is null, all
  directories that belong to the current account are returned.
  </p>
  <p>
  An empty list results in an <code>InvalidParameterException</code> being thrown.
  </p>
  
  @param directoryIds
  A list of identifiers of the directories for which to obtain the information. If this member is null, all
  directories that belong to the current account are returned.</p>
  <p>
  An empty list results in an <code>InvalidParameterException</code> being thrown.