code: public StopWorkspacesResult withFailedRequests(FailedWorkspaceChangeRequest... failedRequests) {
          if (this.failedRequests == null) {
              setFailedRequests(new com.amazonaws.internal.SdkInternalList<FailedWorkspaceChangeRequest>(failedRequests.length));
          }
          for (FailedWorkspaceChangeRequest ele : failedRequests) {
              this.failedRequests.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the WorkSpaces that could not be stopped.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setFailedRequests(java.util.Collection)} or {@link #withFailedRequests(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param failedRequests
  Information about the WorkSpaces that could not be stopped.
  @return Returns a reference to this object so that method calls can be chained together.