class Aws::S3::Types::ObjectLockRule


@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/ObjectLockRule AWS API Documentation
@return [Types::DefaultRetention]
‘Years` at the same time.
`Years` but you must select one. You cannot specify `Days` and
require both a mode and a period. The period can be either `Days` or
apply to new objects placed in the specified bucket. Bucket settings
The default Object Lock retention mode and period that you want to
@!attribute [rw] default_retention
The container element for an Object Lock rule.