ObjectLockConfigurationResponse

data class ObjectLockConfigurationResponse(val objectLockEnabled: String? = null, val rule: ObjectLockRuleResponse? = null)

Definition of ObjectLockConfiguration

Constructors

Link copied to clipboard
constructor(objectLockEnabled: String? = null, rule: ObjectLockRuleResponse? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Indicates whether this bucket has an Object Lock configuration enabled. Enable `ObjectLockEnabled` when you apply `ObjectLockConfiguration` to a bucket.

Link copied to clipboard

Specifies the Object Lock rule for the specified object. Enable this rule when you apply `ObjectLockConfiguration` to a bucket. If Object Lock is turned on, bucket settings require both `Mode` and a period of either `Days` or `Years`. You cannot specify `Days` and `Years` at the same time. For more information, see ObjectLockRule and DefaultRetention. Specifies the Object Lock rule for the specified object. Enable the this rule when you apply `ObjectLockConfiguration` to a bucket.