public static enum sdkEnumConstants.Duration extends java.lang.Enum<sdkEnumConstants.Duration>
The Duration to be provided to the user
Appropriate value to be passed as an argument to setDuration function in AuditModel class
| Enum Constant and Description |
|---|
LAST_7_DAYS |
TODAY |
YESTERDAY |
| Modifier and Type | Method and Description |
|---|---|
static sdkEnumConstants.Duration |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static sdkEnumConstants.Duration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final sdkEnumConstants.Duration TODAY
public static final sdkEnumConstants.Duration YESTERDAY
public static final sdkEnumConstants.Duration LAST_7_DAYS
public static sdkEnumConstants.Duration[] values()
for (sdkEnumConstants.Duration c : sdkEnumConstants.Duration.values()) System.out.println(c);
public static sdkEnumConstants.Duration valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null