public final class RetentionPolicy
extends java.lang.Object
| Constructor and Description |
|---|
RetentionPolicy() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
days()
Get the days value.
|
boolean |
enabled()
Get the enabled value.
|
RetentionPolicy |
withDays(java.lang.Integer days)
Set the days value.
|
RetentionPolicy |
withEnabled(boolean enabled)
Set the enabled value.
|
public boolean enabled()
public RetentionPolicy withEnabled(boolean enabled)
enabled - the enabled value to set.public java.lang.Integer days()
public RetentionPolicy withDays(java.lang.Integer days)
days - the days value to set.