public RuleSummary withRetentionPeriod(RetentionPeriod retentionPeriod) {
        setRetentionPeriod(retentionPeriod);
        return this;
    }
<p>
Information about the retention period for which the retention rule is to retain resources.
</p>

@param retentionPeriod
       Information about the retention period for which the retention rule is to retain resources.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-recyclebin/src/main/java/com/amazonaws/services/recyclebin/model/RuleSummary.java