public ListAgentActionGroupsResult withActionGroupSummaries(ActionGroupSummary... actionGroupSummaries) {
        if (this.actionGroupSummaries == null) {
            setActionGroupSummaries(new java.util.ArrayList<ActionGroupSummary>(actionGroupSummaries.length));
        }
        for (ActionGroupSummary ele : actionGroupSummaries) {
            this.actionGroupSummaries.add(ele);
        }
        return this;
    }
<p>
A list of objects, each of which contains information about an action group.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setActionGroupSummaries(java.util.Collection)} or {@link #withActionGroupSummaries(java.util.Collection)}
if you want to override the existing values.
</p>

@param actionGroupSummaries
       A list of objects, each of which contains information about an action group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-bedrockagent/src/main/java/com/amazonaws/services/bedrockagent/model/ListAgentActionGroupsResult.java