public RestoreEventDataStoreResult withRetentionPeriod(Integer retentionPeriod) {
        setRetentionPeriod(retentionPeriod);
        return this;
    }
<p>
The retention period, in days.
</p>

@param retentionPeriod
       The retention period, in days.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudtrail/src/main/java/com/amazonaws/services/cloudtrail/model/RestoreEventDataStoreResult.java