public void setRetention(ArchiveRetention retention) {
        this.retention = retention;
    }
<p>
The retention period for emails in this archive.
</p>

@param retention
       The retention period for emails in this archive.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/GetArchiveResult.java