code: public RebuildWorkspacesRequest withRebuildWorkspaceRequests(RebuildRequest... rebuildWorkspaceRequests) {
          if (this.rebuildWorkspaceRequests == null) {
              setRebuildWorkspaceRequests(new com.amazonaws.internal.SdkInternalList<RebuildRequest>(rebuildWorkspaceRequests.length));
          }
          for (RebuildRequest ele : rebuildWorkspaceRequests) {
              this.rebuildWorkspaceRequests.add(ele);
          }
          return this;
      }
docs: <p>
  The WorkSpace to rebuild. You can specify a single WorkSpace.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRebuildWorkspaceRequests(java.util.Collection)} or
  {@link #withRebuildWorkspaceRequests(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param rebuildWorkspaceRequests
  The WorkSpace to rebuild. You can specify a single WorkSpace.
  @return Returns a reference to this object so that method calls can be chained together.