asAddHeader

Casts this RuleAction as a AddHeader and retrieves its aws.sdk.kotlin.services.mailmanager.model.AddHeaderAction value. Throws an exception if the RuleAction is not a AddHeader.