GetBucketLifecycleRuleCondition class

Constructors

GetBucketLifecycleRuleCondition({required Input<int> age, required Input<String> createdBefore, required Input<String> customTimeBefore, required Input<int> daysSinceCustomTime, required Input<int> daysSinceNoncurrentTime, required Input<List<String>> matchesPrefixes, required Input<List<String>> matchesStorageClasses, required Input<List<String>> matchesSuffixes, required Input<String> noncurrentTimeBefore, required Input<int> numNewerVersions, required Input<bool> sendAgeIfZero, required Input<bool> sendDaysSinceCustomTimeIfZero, required Input<bool> sendDaysSinceNoncurrentTimeIfZero, required Input<bool> sendNumNewerVersionsIfZero, required Input<int> sizeAboveBytes, required Input<int> sizeBelowBytes, required Input<String> withState})
Creates a new GetBucketLifecycleRuleCondition. age Minimum age of an object in days to satisfy this condition. createdBefore Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition. customTimeBefore Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition. daysSinceCustomTime Number of days elapsed since the user-specified timestamp set on an object. daysSinceNoncurrentTime Number of days elapsed since the noncurrent timestamp of an object. This matchesPrefixes One or more matching name prefixes to satisfy this condition. matchesStorageClasses Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY. matchesSuffixes One or more matching name suffixes to satisfy this condition. noncurrentTimeBefore Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition. numNewerVersions Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition. sendAgeIfZero While set true, age value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the age field. It can be used alone or together with age. sendDaysSinceCustomTimeIfZero While set true, daysSinceCustomTime value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the daysSinceCustomTime field. It can be used alone or together with days_since_custom_time. sendDaysSinceNoncurrentTimeIfZero While set true, daysSinceNoncurrentTime value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the daysSinceNoncurrentTime field. It can be used alone or together with days_since_noncurrent_time. sendNumNewerVersionsIfZero While set true, numNewerVersions value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the numNewerVersions field. It can be used alone or together with num_newer_versions. sizeAboveBytes Objects having a size greater than this value in bytes will be matched. sizeBelowBytes Objects having a size less than this value in bytes will be matched. withState Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
const
GetBucketLifecycleRuleCondition.fromMap(Map<String, dynamic> map)
factory

Properties

age → Input<int>
Minimum age of an object in days to satisfy this condition.
final
createdBefore → Input<String>
Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
final
customTimeBefore → Input<String>
Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
final
daysSinceCustomTime → Input<int>
Number of days elapsed since the user-specified timestamp set on an object.
final
daysSinceNoncurrentTime → Input<int>
Number of days elapsed since the noncurrent timestamp of an object. This condition is relevant only for versioned objects.
final
hashCode → int
The hash code for this object.
no setterinherited
matchesPrefixes → Input<List<String>>
One or more matching name prefixes to satisfy this condition.
final
matchesStorageClasses → Input<List<String>>
Storage Class of objects to satisfy this condition. Supported values include: MULTI_REGIONAL, REGIONAL, NEARLINE, COLDLINE, ARCHIVE, STANDARD, DURABLE_REDUCED_AVAILABILITY.
final
matchesSuffixes → Input<List<String>>
One or more matching name suffixes to satisfy this condition.
final
noncurrentTimeBefore → Input<String>
Creation date of an object in RFC 3339 (e.g. 2017-06-13) to satisfy this condition.
final
numNewerVersions → Input<int>
Relevant only for versioned objects. The number of newer versions of an object to satisfy this condition.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sendAgeIfZero → Input<bool>
While set true, age value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the age field. It can be used alone or together with age.
final
sendDaysSinceCustomTimeIfZero → Input<bool>
While set true, daysSinceCustomTime value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the daysSinceCustomTime field. It can be used alone or together with days_since_custom_time.
final
sendDaysSinceNoncurrentTimeIfZero → Input<bool>
While set true, daysSinceNoncurrentTime value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the daysSinceNoncurrentTime field. It can be used alone or together with days_since_noncurrent_time.
final
sendNumNewerVersionsIfZero → Input<bool>
While set true, numNewerVersions value will be sent in the request even for zero value of the field. This field is only useful for setting 0 value to the numNewerVersions field. It can be used alone or together with num_newer_versions.
final
sizeAboveBytes → Input<int>
Objects having a size greater than this value in bytes will be matched.
final
sizeBelowBytes → Input<int>
Objects having a size less than this value in bytes will be matched.
final
withState → Input<String>
Match to live and/or archived objects. Unversioned buckets have only live objects. Supported values include: "LIVE", "ARCHIVED", "ANY".
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