code: public void setWorkspaces(java.util.Collection<Workspace> workspaces) {
          if (workspaces == null) {
              this.workspaces = null;
              return;
          }
  
          this.workspaces = new com.amazonaws.internal.SdkInternalList<Workspace>(workspaces);
      }
docs: <p>
  Information about the WorkSpaces.
  </p>
  <p>
  Because <a>CreateWorkspaces</a> is an asynchronous operation, some of the returned information could be
  incomplete.
  </p>
  
  @param workspaces
  Information about the WorkSpaces.</p>
  <p>
  Because <a>CreateWorkspaces</a> is an asynchronous operation, some of the returned information could be
  incomplete.