public class RetentionPolicy extends Object
Constructor and Description |
---|
RetentionPolicy() |
Modifier and Type | Method and Description |
---|---|
int |
days()
Get the number of days for the retention in days.
|
boolean |
enabled()
Get a value indicating whether the retention policy is enabled.
|
RetentionPolicy |
withDays(int days)
Set the number of days for the retention in days.
|
RetentionPolicy |
withEnabled(boolean enabled)
Set a value indicating whether the retention policy is enabled.
|
public boolean enabled()
public RetentionPolicy withEnabled(boolean enabled)
enabled
- the enabled value to setpublic int days()
public RetentionPolicy withDays(int days)
days
- the days value to setCopyright © 2019. All rights reserved.