public ListGroupsResult withGroupIdentifiers(GroupIdentifier... groupIdentifiers) {
        if (this.groupIdentifiers == null) {
            setGroupIdentifiers(new java.util.ArrayList<GroupIdentifier>(groupIdentifiers.length));
        }
        for (GroupIdentifier ele : groupIdentifiers) {
            this.groupIdentifiers.add(ele);
        }
        return this;
    }
<p>
A list of <a>GroupIdentifier</a> objects. Each identifier is an object that contains both the <code>Name</code>
and the <code>GroupArn</code>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setGroupIdentifiers(java.util.Collection)} or {@link #withGroupIdentifiers(java.util.Collection)} if you
want to override the existing values.
</p>

@param groupIdentifiers
       A list of <a>GroupIdentifier</a> objects. Each identifier is an object that contains both the
       <code>Name</code> and the <code>GroupArn</code>.
@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