public class ObjectLockRetention extends Object implements Serializable
| Constructor and Description | 
|---|
| ObjectLockRetention() | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getMode()Indicates the Retention mode for the specified object. | 
| Date | getRetainUntilDate() | 
| void | setMode(ObjectLockRetentionMode mode)Indicates the Retention mode for the specified object. | 
| void | setMode(String mode)Indicates the Retention mode for the specified object. | 
| void | setRetainUntilDate(Date retainUntilDate) | 
| ObjectLockRetention | withMode(ObjectLockRetentionMode mode)Indicates the Retention mode for the specified object. | 
| ObjectLockRetention | withMode(String mode)Indicates the Retention mode for the specified object. | 
| ObjectLockRetention | withRetainUntilDate(Date retainUntilDate) | 
public String getMode()
public ObjectLockRetention withMode(String mode)
public ObjectLockRetention withMode(ObjectLockRetentionMode mode)
public void setMode(String mode)
public void setMode(ObjectLockRetentionMode mode)
public Date getRetainUntilDate()
public ObjectLockRetention withRetainUntilDate(Date retainUntilDate)
public void setRetainUntilDate(Date retainUntilDate)