public ListPermissionGroupsResult withPermissionGroups(java.util.Collection<PermissionGroup> permissionGroups) {
        setPermissionGroups(permissionGroups);
        return this;
    }
<p>
A list of all the permission groups.
</p>

@param permissionGroups
       A list of all the permission groups.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspacedata/src/main/java/com/amazonaws/services/finspacedata/model/ListPermissionGroupsResult.java