LifecycleRule class
A lifecycle rule for individual objects in an Amazon S3 bucket.
Constructors
-
LifecycleRule({required ExpirationStatus status, AbortIncompleteMultipartUpload? abortIncompleteMultipartUpload, LifecycleExpiration? expiration, LifecycleRuleFilter? filter, String? id, NoncurrentVersionExpiration? noncurrentVersionExpiration, List<
NoncurrentVersionTransition> ? noncurrentVersionTransitions, String? prefix, List<Transition> ? transitions}) - LifecycleRule.fromXml(XmlElement elem)
-
factory
Properties
- abortIncompleteMultipartUpload → AbortIncompleteMultipartUpload?
-
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?
-
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?
-
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
- prefix → String?
-
Prefix identifying one or more objects to which the rule applies. This is No
longer used; use
Filter
instead.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