asMastercard
Casts this DerivationMethodAttributes as a Mastercard and retrieves its aws.sdk.kotlin.services.paymentcryptographydata.model.MasterCardAttributes value. Throws an exception if the DerivationMethodAttributes is not a Mastercard.