code: public RebootWorkspacesRequest withRebootWorkspaceRequests(RebootRequest... rebootWorkspaceRequests) {
          if (this.rebootWorkspaceRequests == null) {
              setRebootWorkspaceRequests(new com.amazonaws.internal.SdkInternalList<RebootRequest>(rebootWorkspaceRequests.length));
          }
          for (RebootRequest ele : rebootWorkspaceRequests) {
              this.rebootWorkspaceRequests.add(ele);
          }
          return this;
      }
docs: <p>
  The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setRebootWorkspaceRequests(java.util.Collection)} or
  {@link #withRebootWorkspaceRequests(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param rebootWorkspaceRequests
  The WorkSpaces to reboot. You can specify up to 25 WorkSpaces.
  @return Returns a reference to this object so that method calls can be chained together.