code: public void setWorkGroups(java.util.Collection<WorkGroupSummary> workGroups) {
          if (workGroups == null) {
              this.workGroups = null;
              return;
          }
  
          this.workGroups = new java.util.ArrayList<WorkGroupSummary>(workGroups);
      }
docs: <p>
  The list of workgroups, including their names, descriptions, creation times, and states.
  </p>
  
  @param workGroups
  The list of workgroups, including their names, descriptions, creation times, and states.