docs: public CreateWorkspacesResult withPendingRequests(Workspace... pendingRequests) {
          if (this.pendingRequests == null) {
              setPendingRequests(new com.amazonaws.internal.SdkInternalList<Workspace>(pendingRequests.length));
          }
          for (Workspace ele : pendingRequests) {
              this.pendingRequests.add(ele);
          }
          return this;
      }