DefaultRetentionResponse

data class DefaultRetentionResponse(val days: Int? = null, val mode: String? = null, val years: Int? = null)

Definition of DefaultRetention

Constructors

Link copied to clipboard
constructor(days: Int? = null, mode: String? = null, years: Int? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val days: Int? = null

The number of days that you want to specify for the default retention period. If Object Lock is turned on, you must specify `Mode` and specify either `Days` or `Years`.

Link copied to clipboard
val mode: String? = null

The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. If Object Lock is turned on, you must specify `Mode` and specify either `Days` or `Years`.

Link copied to clipboard
val years: Int? = null

The number of years that you want to specify for the default retention period. If Object Lock is turned on, you must specify `Mode` and specify either `Days` or `Years`.