Skip to content

/AWS1/CL_S3_OBJECTLOCKRET

A Retention configuration for an object.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_mode TYPE /AWS1/S3_OBJECTLOCKRETMODE /AWS1/S3_OBJECTLOCKRETMODE

Indicates the Retention mode for the specified object.

iv_retainuntildate TYPE /AWS1/S3_DATE /AWS1/S3_DATE

The date on which this Object Lock Retention will expire.

iv_eventhold TYPE /AWS1/S3_OBJECTLOCKEVENTHOLD /AWS1/S3_OBJECTLOCKEVENTHOLD

The event hold status for the object. Set to ON to enable an event hold or OFF to disable it.

io_eventholdduration TYPE REF TO /AWS1/CL_S3_EVENTHOLDDURATION /AWS1/CL_S3_EVENTHOLDDURATION

The event hold duration for the object. Specifies how long the object remains protected after the event hold is released.


Queryable Attributes

Mode

Indicates the Retention mode for the specified object.

Accessible with the following methods

Method Description
GET_MODE() Getter for MODE, with configurable default
ASK_MODE() Getter for MODE w/ exceptions if field has no value
HAS_MODE() Determine if MODE has a value

RetainUntilDate

The date on which this Object Lock Retention will expire.

Accessible with the following methods

Method Description
GET_RETAINUNTILDATE() Getter for RETAINUNTILDATE, with configurable default
ASK_RETAINUNTILDATE() Getter for RETAINUNTILDATE w/ exceptions if field has no val
HAS_RETAINUNTILDATE() Determine if RETAINUNTILDATE has a value

EventHold

The event hold status for the object. Set to ON to enable an event hold or OFF to disable it.

Accessible with the following methods

Method Description
GET_EVENTHOLD() Getter for EVENTHOLD, with configurable default
ASK_EVENTHOLD() Getter for EVENTHOLD w/ exceptions if field has no value
HAS_EVENTHOLD() Determine if EVENTHOLD has a value

EventHoldDuration

The event hold duration for the object. Specifies how long the object remains protected after the event hold is released.

Accessible with the following methods

Method Description
GET_EVENTHOLDDURATION() Getter for EVENTHOLDDURATION