def set_patches_all_edge_servers(self, patch_values: list) -> list:
    """Defines the time it takes to update edge servers.
    Args:
        patch_values (list): Patch durations assigned to the edge server objects.
    Returns:
        edge_servers (list): Modified EdgeServer objects.
    """
    for index, edge_server in enumerate(self.objects):
        edge_server.patch = patch_values[index]

    return self.objects