class Aws::S3::Types::DefaultRetention
@see docs.aws.amazon.com/goto/WebAPI/s3-2006-03-01/DefaultRetention AWS API Documentation
@return [Integer]
retention period. Must be used with ‘Mode`.
The number of years that you want to specify for the default
@!attribute [rw] years
@return [Integer]
retention period. Must be used with `Mode`.
The number of days that you want to specify for the default
@!attribute [rw] days
@return [String]
`Days` or `Years`.
objects placed in the specified bucket. Must be used with either
The default Object Lock retention mode you want to apply to new
@!attribute [rw] mode
</note>
same time.
you must select one. You cannot specify `Days` and `Years` at the
* The `DefaultRetention` period can be either `Days` or `Years` but
<note markdown=“1”> * The `DefaultRetention` settings require both a mode and a period.
bucket.
Lock retention settings for new objects placed in the specified
The container element for optionally specifying the default Object