public ArchiveRetention getRetention() {
        return this.retention;
    }
<p>
The period for retaining emails in the archive before automatic deletion.
</p>

@return The period for retaining emails in the archive before automatic deletion.
aws-java-sdk-mailmanager/src/main/java/com/amazonaws/services/mailmanager/model/CreateArchiveRequest.java