public RetentionArchiveTier withInterval(Integer interval) {
        setInterval(interval);
        return this;
    }
<p>
Specifies the period of time to retain snapshots in the archive tier. After this period expires, the snapshot is
permanently deleted.
</p>

@param interval
       Specifies the period of time to retain snapshots in the archive tier. After this period expires, the
       snapshot is permanently deleted.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dlm/src/main/java/com/amazonaws/services/dlm/model/RetentionArchiveTier.java