BucketObjectLockConfigurationV2RuleDefaultRetention constructor
const
BucketObjectLockConfigurationV2RuleDefaultRetention({})
Creates a new BucketObjectLockConfigurationV2RuleDefaultRetention.
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 the specified bucket. Valid values: COMPLIANCE, GOVERNANCE.
years Number of years that you want to specify for the default retention period.
Implementation
const BucketObjectLockConfigurationV2RuleDefaultRetention({
this.days,
this.mode,
this.years,
});