public static enum Violation.ViolationType extends Enum<Violation.ViolationType>
Modifier and Type | Method and Description |
---|---|
static Violation.ViolationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Violation.ViolationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Violation.ViolationType REQUEST_THRESHOLD_VIOLATION
public static final Violation.ViolationType CLIENT_ERROR_RATE_VIOLATION
public static final Violation.ViolationType ENDPOINT_ABUSE_VIOLATION
public static final Violation.ViolationType HARD_LIMIT_VIOLATION
public static final Violation.ViolationType USERAGENT_BLOCKLIST_VIOLATION
public static final Violation.ViolationType ABUSIVE_ACCOUNT_VIOLATION
public static final Violation.ViolationType PER_ENDPOINT_ERROR_RATE_VIOLATION
public static final Violation.ViolationType STATUS_CODE_RATE_VIOLATION
public static final Violation.ViolationType SESSION_LIMIT_VIOLATION
public static Violation.ViolationType[] values()
for (Violation.ViolationType c : Violation.ViolationType.values()) System.out.println(c);
public static Violation.ViolationType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2022. All rights reserved.