public void setArchive(ArchiveAction archive) {
        this.archive = archive;
    }
<p>
This action archives the email. This can be used to deliver an email to an archive.
</p>

@param archive
       This action archives the email. This can be used to deliver an email to an archive.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/RuleAction.java