GetBucketRetentionPolicy class
Constructors
-
GetBucketRetentionPolicy({required Input<bool> isLocked, required Input<String> retentionPeriod})
-
Creates a new GetBucketRetentionPolicy.
isLocked If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
retentionPeriod The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
const
-
GetBucketRetentionPolicy.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
isLocked
→ Input<bool>
-
If set to true, the bucket will be locked and permanently restrict edits to the bucket's retention policy. Caution: Locking a bucket is an irreversible action.
final
-
retentionPeriod
→ Input<String>
-
The period of time, in seconds, that objects in the bucket must be retained and cannot be deleted, overwritten, or archived. The value must be less than 3,155,760,000 seconds.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited