S3Retention class

Contains the S3 Object Lock retention mode to be applied to all objects in the S3 Batch Operations job. If you don't provide Mode and RetainUntilDate data types in your operation, you will remove the retention from your objects. For more information, see Using S3 Object Lock retention with S3 Batch Operations in the Amazon Simple Storage Service Developer Guide.

Constructors

S3Retention({S3ObjectLockRetentionMode? mode, DateTime? retainUntilDate})
S3Retention.fromXml(XmlElement elem)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mode S3ObjectLockRetentionMode?
The Object Lock retention mode to be applied to all objects in the Batch Operations job.
final
retainUntilDate DateTime?
The date when the applied Object Lock retention will expire on all objects set by the Batch Operations job.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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