asArchiveOrNull

Casts this RuleAction as a Archive and retrieves its aws.sdk.kotlin.services.mailmanager.model.ArchiveAction value. Returns null if the RuleAction is not a Archive.