public SearchGroupsResult withGroupList(Group... groupList) {
        if (this.groupList == null) {
            setGroupList(new java.util.ArrayList<Group>(groupList.length));
        }
        for (Group ele : groupList) {
            this.groupList.add(ele);
        }
        return this;
    }
<p>
A list of groups in a specified namespace that match the filters you set in your <code>SearchGroups</code>
request.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setGroupList(java.util.Collection)} or {@link #withGroupList(java.util.Collection)} if you want to
override the existing values.
</p>

@param groupList
       A list of groups in a specified namespace that match the filters you set in your <code>SearchGroups</code>
       request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/SearchGroupsResult.java