How do I switch the polygon collider in the Cinemachine confiner to a pre-existing list through script?

How do I switch the polygon collider in the Cinemachine confiner to a pre-existing listthrough script?

I have a list of PolygonCollider2Ds and I want to have certain code run in a script that switches the PolygonCollider2D used in a Cinemachine confiner to one of these other colliders, how would I go about doing this? I have found some things online but its all just how to change the points rather than the actual collider being used.

I am currently having a similar problem.