@Deprecated
    public void setGroups(java.util.Collection<Group> groups) {
        if (groups == null) {
            this.groups = null;
            return;
        }

        this.groups = new java.util.ArrayList<Group>(groups);
    }
<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>
aws-java-sdk-resourcegroups/src/main/java/com/amazonaws/services/resourcegroups/model/ListGroupsResult.java