RetentionRule constructor

RetentionRule({
  1. RetentionRuleTypeEnum? type = const RetentionRuleTypeEnum._('expire'),
  2. required int? everySeconds,
  3. int? shardGroupDurationSeconds,
})

Returns a new RetentionRule instance.

Implementation

RetentionRule({
  this.type = const RetentionRuleTypeEnum._('expire'),
  required this.everySeconds,
  this.shardGroupDurationSeconds,
});