asAlgorithm

Casts this MacAttributes as a Algorithm and retrieves its aws.sdk.kotlin.services.paymentcryptographydata.model.MacAlgorithm value. Throws an exception if the MacAttributes is not a Algorithm.