BucketV2LifecycleRule class

Constructors

BucketV2LifecycleRule({Input<int?>? abortIncompleteMultipartUploadDays, required Input<bool> enabled, Input<List<BucketV2LifecycleRuleExpiration>?>? expirations, Input<String?>? id, Input<List<BucketV2LifecycleRuleNoncurrentVersionExpiration>?>? noncurrentVersionExpirations, Input<List<BucketV2LifecycleRuleNoncurrentVersionTransition>?>? noncurrentVersionTransitions, Input<String?>? prefix, Input<Map<String, String>?>? tags, Input<List<BucketV2LifecycleRuleTransition>?>? transitions})
Creates a new BucketV2LifecycleRule. abortIncompleteMultipartUploadDays Number of days after initiating a multipart upload when the multipart upload must be completed. enabled Lifecycle rule status. expirations 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. noncurrentVersionExpirations 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
BucketV2LifecycleRule.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
expirations → Input<List<BucketV2LifecycleRuleExpiration>?>?
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
noncurrentVersionExpirations → Input<List<BucketV2LifecycleRuleNoncurrentVersionExpiration>?>?
When noncurrent object versions expire. See noncurrentVersionExpiration Block below for details.
final
noncurrentVersionTransitions → Input<List<BucketV2LifecycleRuleNoncurrentVersionTransition>?>?
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<BucketV2LifecycleRuleTransition>?>?
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