AWSS3ObjectLockRetention

Objective-C

@interface AWSS3ObjectLockRetention

Swift

class AWSS3ObjectLockRetention

A Retention configuration for an object.

  • Indicates the Retention mode for the specified object.

    Declaration

    Objective-C

    @property (nonatomic) AWSS3ObjectLockRetentionMode mode;

    Swift

    var mode: AWSS3ObjectLockRetentionMode { get set }
  • The date on which this Object Lock Retention will expire.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDate *_Nullable retainUntilDate;

    Swift

    var retainUntilDate: Date? { get set }