public static enum RateLimit.Status extends java.lang.Enum<RateLimit.Status>
Enum Constant and Description |
---|
DDOS |
ERROR |
EXPIRED |
FORBIDDEN |
INITIAL |
RATELIMIT |
SERVICEDOWN |
UNKNOWN |
VALID |
Modifier and Type | Method and Description |
---|---|
static RateLimit.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RateLimit.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RateLimit.Status UNKNOWN
public static final RateLimit.Status SERVICEDOWN
public static final RateLimit.Status INITIAL
public static final RateLimit.Status VALID
public static final RateLimit.Status RATELIMIT
public static final RateLimit.Status EXPIRED
public static final RateLimit.Status FORBIDDEN
public static final RateLimit.Status DDOS
public static final RateLimit.Status ERROR
public static RateLimit.Status[] values()
for (RateLimit.Status c : RateLimit.Status.values()) System.out.println(c);
public static RateLimit.Status 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