public class Rule extends Object
ObjectLockConfiguration
.Constructor and Description |
---|
Rule(RetentionMode mode,
RetentionDuration duration) |
Modifier and Type | Method and Description |
---|---|
RetentionDuration |
duration() |
RetentionMode |
mode() |
public Rule(RetentionMode mode, RetentionDuration duration)
public RetentionMode mode()
public RetentionDuration duration()