asDefault

Casts this EncryptionSettings as a Default and retrieves its aws.sdk.kotlin.services.verifiedpermissions.model.Unit value. Throws an exception if the EncryptionSettings is not a Default.