code: public DescribeDirectoriesResult withDirectoryDescriptions(DirectoryDescription... directoryDescriptions) {
          if (this.directoryDescriptions == null) {
              setDirectoryDescriptions(new com.amazonaws.internal.SdkInternalList<DirectoryDescription>(directoryDescriptions.length));
          }
          for (DirectoryDescription ele : directoryDescriptions) {
              this.directoryDescriptions.add(ele);
          }
          return this;
      }
docs: <p>
  The list of <a>DirectoryDescription</a> objects that were retrieved.
  </p>
  <p>
  It is possible that this list contains less than the number of items specified in the <code>Limit</code> member
  of the request. This occurs if there are less than the requested number of items left to retrieve, or if the
  limitations of the operation have been exceeded.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDirectoryDescriptions(java.util.Collection)} or
  {@link #withDirectoryDescriptions(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param directoryDescriptions
  The list of <a>DirectoryDescription</a> objects that were retrieved.</p>
  <p>
  It is possible that this list contains less than the number of items specified in the <code>Limit</code>
  member of the request. This occurs if there are less than the requested number of items left to retrieve,
  or if the limitations of the operation have been exceeded.
  @return Returns a reference to this object so that method calls can be chained together.