public RuleAction withArchive(ArchiveAction archive) {
        setArchive(archive);
        return this;
    }
<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.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/RuleAction.java