/** * The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. */ public void setMode(String mode) { withMode(mode); }
/** * The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. */ public void setMode(ObjectLockRetentionMode mode) { withMode(mode); }
/** * The default Object Lock retention mode you want to apply to new objects placed in the specified bucket. */ public DefaultRetention withMode(ObjectLockRetentionMode mode) { return withMode(mode.toString()); }