DefaultRetention class

The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.

Constructors

DefaultRetention({int? days, ObjectLockRetentionMode? mode, int? years})
DefaultRetention.fromXml(XmlElement elem)
factory

Properties

days int?
The number of days that you want to specify for the default retention period.
final
hashCode int
The hash code for this object.
no setterinherited
mode ObjectLockRetentionMode?
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
years int?
The number of years that you want to specify for the default retention period.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toXml(String elemName, {List<XmlAttribute>? attributes}) → XmlElement

Operators

operator ==(Object other) bool
The equality operator.
inherited