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