Class DefaultRetention
The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.
public class DefaultRetention
- Inheritance
-
DefaultRetention
- Inherited Members
Constructors
DefaultRetention()
public DefaultRetention()
Properties
Days
Gets and sets the property Days.
The number of days that you want to specify for the default retention period.
public int Days { get; set; }
Property Value
Mode
Gets and sets the property Mode.
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
public ObjectLockRetentionMode Mode { get; set; }
Property Value
Years
Gets and sets the property Years.
The number of years that you want to specify for the default retention period.
public int Years { get; set; }