public DescribeUserGroupsResult withUserGroups(java.util.Collection<UserGroup> userGroups) {
        setUserGroups(userGroups);
        return this;
    }
<p>
Returns a list of user groups.
</p>

@param userGroups
       Returns a list of user groups.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/DescribeUserGroupsResult.java