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, String? mode, int? years)
DefaultRetention.fromXml(XmlElement? xml)

Properties

days int?
The number of days that you want to specify for the default retention period.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mode String?
The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.
getter/setter pair
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.
getter/setter pair

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() → XmlNode

Operators

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