code: public DescribeSharedDirectoriesRequest withSharedDirectoryIds(String... sharedDirectoryIds) {
          if (this.sharedDirectoryIds == null) {
              setSharedDirectoryIds(new com.amazonaws.internal.SdkInternalList<String>(sharedDirectoryIds.length));
          }
          for (String ele : sharedDirectoryIds) {
              this.sharedDirectoryIds.add(ele);
          }
          return this;
      }
docs: <p>
  A list of identifiers of all shared directories in your account.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSharedDirectoryIds(java.util.Collection)} or {@link #withSharedDirectoryIds(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param sharedDirectoryIds
  A list of identifiers of all shared directories in your account.
  @return Returns a reference to this object so that method calls can be chained together.