BucketV2ObjectLockConfigurationRuleDefaultRetention constructor
const
BucketV2ObjectLockConfigurationRuleDefaultRetention({})
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,
});