@Deprecated
    public ListGroupsResult withGroups(java.util.Collection<Group> groups) {
        setGroups(groups);
        return this;
    }
<important>
<p>
<i> <b>Deprecated - don't use this field. Use the <code>GroupIdentifiers</code> response field instead.</b> </i>
</p>
</important>

@param groups
       <p>
       <i> <b>Deprecated - don't use this field. Use the <code>GroupIdentifiers</code> response field
       instead.</b> </i>
       </p>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resourcegroups/src/main/java/com/amazonaws/services/resourcegroups/model/ListGroupsResult.java