public class ObjectLockRule extends Object implements Serializable
| Constructor and Description |
|---|
ObjectLockRule() |
| Modifier and Type | Method and Description |
|---|---|
DefaultRetention |
getDefaultRetention()
The default retention period that you want to apply to new objects placed in the specified bucket.
|
void |
setDefaultRetention(DefaultRetention defaultRetention)
The default retention period that you want to apply to new objects placed in the specified bucket.
|
ObjectLockRule |
withDefaultRetention(DefaultRetention defaultRetention)
The default retention period that you want to apply to new objects placed in the specified bucket.
|
public DefaultRetention getDefaultRetention()
public ObjectLockRule withDefaultRetention(DefaultRetention defaultRetention)
public void setDefaultRetention(DefaultRetention defaultRetention)