AWSS3DefaultRetention

@interface AWSS3DefaultRetention

The container element for specifying the default Object Lock retention settings for new objects placed in the specified bucket.

  • The number of days that you want to specify for the default retention period.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable days;

    Swift

    var days: NSNumber? { get set }
  • The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSS3ObjectLockRetentionMode mode;

    Swift

    var mode: AWSS3ObjectLockRetentionMode { get set }
  • The number of years that you want to specify for the default retention period.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable years;

    Swift

    var years: NSNumber? { get set }