BucketLifecycleRule class

Constructors

BucketLifecycleRule({Input<int?>? abortIncompleteMultipartUploadDays, required Input<bool> enabled, Input<BucketLifecycleRuleExpiration?>? expiration, Input<String?>? id, Input<BucketLifecycleRuleNoncurrentVersionExpiration?>? noncurrentVersionExpiration, Input<List<BucketLifecycleRuleNoncurrentVersionTransition>?>? noncurrentVersionTransitions, Input<String?>? prefix, Input<Map<String, String>?>? tags, Input<List<BucketLifecycleRuleTransition>?>? transitions})
Creates a new BucketLifecycleRule. abortIncompleteMultipartUploadDays Number of days after initiating a multipart upload when the multipart upload must be completed. enabled Lifecycle rule status. expiration Configuration of the object expiration. See expiration Block below for details. id Unique identifier for the rule. Must be less than or equal to 255 characters in length. noncurrentVersionExpiration When noncurrent object versions expire. See noncurrentVersionExpiration Block below for details. noncurrentVersionTransitions When noncurrent object versions transition. See noncurrentVersionTransition Block below for details. prefix Object key prefix identifying one or more objects to which the rule applies. tags Object tags key and value. transitions Configuration of the object transition. See transition Block below for details.
const
BucketLifecycleRule.fromMap(Map<String, dynamic> map)
factory

Properties

abortIncompleteMultipartUploadDays → Input<int?>?
Number of days after initiating a multipart upload when the multipart upload must be completed.
final
enabled → Input<bool>
Lifecycle rule status.
final
expiration → Input<BucketLifecycleRuleExpiration?>?
Configuration of the object expiration. See expiration Block below for details.
final
hashCode → int
The hash code for this object.
no setterinherited
id → Input<String?>?
Unique identifier for the rule. Must be less than or equal to 255 characters in length.
final
noncurrentVersionExpiration → Input<BucketLifecycleRuleNoncurrentVersionExpiration?>?
When noncurrent object versions expire. See noncurrentVersionExpiration Block below for details.
final
noncurrentVersionTransitions → Input<List<BucketLifecycleRuleNoncurrentVersionTransition>?>?
When noncurrent object versions transition. See noncurrentVersionTransition Block below for details.
final
prefix → Input<String?>?
Object key prefix identifying one or more objects to which the rule applies.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
tags → Input<Map<String, String>?>?
Object tags key and value.
final
transitions → Input<List<BucketLifecycleRuleTransition>?>?
Configuration of the object transition. See transition Block below for details.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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