LifecycleRule class

The container for the Outposts bucket lifecycle rule.

Constructors

LifecycleRule({required ExpirationStatus status, AbortIncompleteMultipartUpload? abortIncompleteMultipartUpload, LifecycleExpiration? expiration, LifecycleRuleFilter? filter, String? id, NoncurrentVersionExpiration? noncurrentVersionExpiration, List<NoncurrentVersionTransition>? noncurrentVersionTransitions, List<Transition>? transitions})
LifecycleRule.fromXml(XmlElement elem)
factory

Properties

abortIncompleteMultipartUpload AbortIncompleteMultipartUpload?
Specifies the days since the initiation of an incomplete multipart upload that Amazon S3 waits before permanently removing all parts of the upload. For more information, see Aborting Incomplete Multipart Uploads Using a Bucket Lifecycle Policy in the Amazon Simple Storage Service Developer Guide.
final
expiration LifecycleExpiration?
Specifies the expiration for the lifecycle of the object in the form of date, days and, whether the object has a delete marker.
final
filter LifecycleRuleFilter?
The container for the filter of lifecycle rule.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
Unique identifier for the rule. The value cannot be longer than 255 characters.
final
noncurrentVersionExpiration NoncurrentVersionExpiration?
The noncurrent version expiration of the lifecycle rule.
final
noncurrentVersionTransitions List<NoncurrentVersionTransition>?
Specifies the transition rule for the lifecycle rule that describes when noncurrent objects transition to a specific storage class. If your bucket is versioning-enabled (or versioning is suspended), you can set this action to request that Amazon S3 transition noncurrent object versions to a specific storage class at a set period in the object's lifetime.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status ExpirationStatus
If 'Enabled', the rule is currently being applied. If 'Disabled', the rule is not currently being applied.
final
transitions List<Transition>?
Specifies when an Amazon S3 object transitions to a specified storage class.
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