AWSS3DefaultRetention

Objective-C

@interface AWSS3DefaultRetention

Swift

class 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 (nonatomic, strong) 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 (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 (nonatomic, strong) NSNumber *_Nullable years;

    Swift

    var years: NSNumber? { get set }