Description
Retention configuration of bucket and objects inside it.
Syntax
object_container --bkt-retention --name <container name>
--bkt-name <bucket name>
--mode <compliance|governance|none>
[--object-name <anything>]
[--object-prefix <anything>]
[--valid-days <1 to 36500 days>]
[--valid-years <1 to 100 years>]
Where
--name Name of the container
--bkt-name Name of the bucket
--mode <compliance|governance|none>
Result
Object retention successfully set for `ObjectContainer1/bucket3/file1`.