How can I change the focus_distance and f_stop in Replicator

Hi, I want to render the same scene with different camera setting. To save GPU memory, I only use one camera with one render_product. I want to change the camera setting in different frame, and I can change the position of the camera using the following code:

for frame_id in range(total_frame):
with camera:

but it only works with the position, I haven’t find a way to change the focus_distance and f_stop at the same time. Is there any way to achieve that?