public java.util.List<Group> getGroups() {
        if (groups == null) {
            groups = new com.amazonaws.internal.SdkInternalList<Group>();
        }
        return groups;
    }
<p>
A list of groups.
</p>

@return A list of groups.
aws-java-sdk-iam/src/main/java/com/amazonaws/services/identitymanagement/model/ListGroupsResult.java