/AWS1/CL_S3_OBJECTLOCKCONF¶
The container element for Object Lock configuration parameters.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_objectlockenabled TYPE /AWS1/S3_OBJECTLOCKENABLED /AWS1/S3_OBJECTLOCKENABLED¶
Indicates whether this bucket has an Object Lock configuration enabled. Enable
ObjectLockEnabledwhen you applyObjectLockConfigurationto a bucket.
io_rule TYPE REF TO /AWS1/CL_S3_OBJECTLOCKRULE /AWS1/CL_S3_OBJECTLOCKRULE¶
Specifies the Object Lock rule for the specified object. Enable the this rule when you apply
ObjectLockConfigurationto a bucket. Bucket settings require both a mode and a period. The period can be eitherDaysorYearsbut you must select one. You cannot specifyDaysandYearsat the same time.
Queryable Attributes¶
ObjectLockEnabled¶
Indicates whether this bucket has an Object Lock configuration enabled. Enable
ObjectLockEnabledwhen you applyObjectLockConfigurationto a bucket.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_OBJECTLOCKENABLED() |
Getter for OBJECTLOCKENABLED, with configurable default |
ASK_OBJECTLOCKENABLED() |
Getter for OBJECTLOCKENABLED w/ exceptions if field has no v |
HAS_OBJECTLOCKENABLED() |
Determine if OBJECTLOCKENABLED has a value |
Rule¶
Specifies the Object Lock rule for the specified object. Enable the this rule when you apply
ObjectLockConfigurationto a bucket. Bucket settings require both a mode and a period. The period can be eitherDaysorYearsbut you must select one. You cannot specifyDaysandYearsat the same time.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RULE() |
Getter for RULE |