class Aws::S3::Types::ObjectLockConfiguration


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockConfiguration AWS API Documentation
@return [Types::ObjectLockRule]
‘Days` and `Years` at the same time.
either `Days` or `Years` but you must select one. You cannot specify
Bucket settings require both a mode and a period. The period can be
this rule when you apply `ObjectLockConfiguration` to a bucket.
Specifies the Object Lock rule for the specified object. Enable the
@!attribute [rw] rule
@return [String]
`ObjectLockConfiguration` to a bucket.
enabled. Enable `ObjectLockEnabled` when you apply
Indicates whether this bucket has an Object Lock configuration
@!attribute [rw] object_lock_enabled
The container element for Object Lock configuration parameters.