public void setGroups(java.util.Collection<GroupSummary> groups) {
        if (groups == null) {
            this.groups = null;
            return;
        }

        this.groups = new java.util.ArrayList<GroupSummary>(groups);
    }
<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.
aws-java-sdk-synthetics/src/main/java/com/amazonaws/services/synthetics/model/ListGroupsResult.java