docs: public DescribeSharedDirectoriesResult withSharedDirectories(SharedDirectory... sharedDirectories) {
          if (this.sharedDirectories == null) {
              setSharedDirectories(new com.amazonaws.internal.SdkInternalList<SharedDirectory>(sharedDirectories.length));
          }
          for (SharedDirectory ele : sharedDirectories) {
              this.sharedDirectories.add(ele);
          }
          return this;
      }