public void setPermissionGroups(java.util.Collection<PermissionGroup> permissionGroups) {
        if (permissionGroups == null) {
            this.permissionGroups = null;
            return;
        }

        this.permissionGroups = new java.util.ArrayList<PermissionGroup>(permissionGroups);
    }
<p>
A list of all the permission groups.
</p>

@param permissionGroups
       A list of all the permission groups.
aws-java-sdk-finspacedata/src/main/java/com/amazonaws/services/finspacedata/model/ListPermissionGroupsResult.java