BucketV2LifecycleRule class
Constructors
-
BucketV2LifecycleRule({Input<
int?> ? abortIncompleteMultipartUploadDays, required Input<bool> enabled, Input<List< ? expirations, Input<BucketV2LifecycleRuleExpiration> ?>String?> ? id, Input<List< ? noncurrentVersionExpirations, Input<BucketV2LifecycleRuleNoncurrentVersionExpiration> ?>List< ? noncurrentVersionTransitions, Input<BucketV2LifecycleRuleNoncurrentVersionTransition> ?>String?> ? prefix, Input<Map< ? tags, Input<String, String> ?>List< ? transitions})BucketV2LifecycleRuleTransition> ?> -
Creates a new BucketV2LifecycleRule.
abortIncompleteMultipartUploadDaysNumber of days after initiating a multipart upload when the multipart upload must be completed.enabledLifecycle rule status.expirationsConfiguration of the object expiration. SeeexpirationBlock below for details.idUnique identifier for the rule. Must be less than or equal to 255 characters in length.noncurrentVersionExpirationsWhen noncurrent object versions expire. SeenoncurrentVersionExpirationBlock below for details.noncurrentVersionTransitionsWhen noncurrent object versions transition. SeenoncurrentVersionTransitionBlock below for details.prefixObject key prefix identifying one or more objects to which the rule applies.tagsObject tags key and value.transitionsConfiguration of the object transition. SeetransitionBlock 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
expirationBlock 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
noncurrentVersionExpirationBlock below for details.final -
noncurrentVersionTransitions
→ Input<
List< ?BucketV2LifecycleRuleNoncurrentVersionTransition> ?> -
When noncurrent object versions transition. See
noncurrentVersionTransitionBlock 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
-
Object tags key and value.
final
-
transitions
→ Input<
List< ?BucketV2LifecycleRuleTransition> ?> -
Configuration of the object transition. See
transitionBlock 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