BucketV2ObjectLockConfigurationRuleDefaultRetention constructor

const BucketV2ObjectLockConfigurationRuleDefaultRetention({
  1. Input<int?>? days,
  2. required Input<String> mode,
  3. Input<int?>? years,
})

Creates a new BucketV2ObjectLockConfigurationRuleDefaultRetention. days Number of days that you want to specify for the default retention period. mode Default Object Lock retention mode you want to apply to new objects placed in this bucket. Valid values are GOVERNANCE and COMPLIANCE. years Number of years that you want to specify for the default retention period.

Implementation

const BucketV2ObjectLockConfigurationRuleDefaultRetention({
  this.days,
  required this.mode,
  this.years,
});