IBM COS SDK for JavaScript V2 - v1.0.0
    Preparing search index...

    Interface ObjectLockRule

    The container element for an Object Lock rule.

    interface ObjectLockRule {
        DefaultRetention?: DefaultRetention;
    }
    Index

    Properties

    DefaultRetention?: DefaultRetention

    The default Object Lock retention mode and period that you want to apply to new objects placed in the specified bucket. Bucket settings require both a mode and a period. The period can be either Days or Years but you must select one. You cannot specify Days and Years at the same time.