asV1

Casts this ConsolidatedPolicy as a V1 and retrieves its aws.sdk.kotlin.services.cleanrooms.model.ConsolidatedPolicyV1 value. Throws an exception if the ConsolidatedPolicy is not a V1.