Table of Contents

Class DefaultRetention

Namespace
Amazon.S3.Model
Assembly
AWSSDK.S3.dll

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

public class DefaultRetention
Inheritance
DefaultRetention
Inherited Members

Constructors

DefaultRetention()

public DefaultRetention()

Properties

Days

Gets and sets the property Days.

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

public int Days { get; set; }

Property Value

int

Mode

Gets and sets the property Mode.

The default Object Lock retention mode you want to apply to new objects placed in the specified bucket.

public ObjectLockRetentionMode Mode { get; set; }

Property Value

ObjectLockRetentionMode

Years

Gets and sets the property Years.

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

public int Years { get; set; }

Property Value

int