code: @Deprecated
      public ListGroupsResult withGroups(java.util.Collection<Group> groups) {
          setGroups(groups);
          return this;
      }
docs: <p>
  A list of resource groups.
  </p>
  
  @param groups
  A list of resource groups.
  @return Returns a reference to this object so that method calls can be chained together.