public ListGroupsResult withGroups(java.util.Collection<GroupSummary> groups) {
        setGroups(groups);
        return this;
    }
<p>
An array of structures that each contain information about one group.
</p>

@param groups
       An array of structures that each contain information about one group.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/ListGroupsResult.java