@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum ViolationReason extends Enum<ViolationReason>
| Enum Constant and Description |
|---|
RESOURCE_INCORRECT_WEB_ACL |
RESOURCE_MISSING_WEB_ACL |
WEB_ACL_MISSING_RULE_GROUP |
| Modifier and Type | Method and Description |
|---|---|
static ViolationReason |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static ViolationReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ViolationReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ViolationReason WEB_ACL_MISSING_RULE_GROUP
public static final ViolationReason RESOURCE_MISSING_WEB_ACL
public static final ViolationReason RESOURCE_INCORRECT_WEB_ACL
public static ViolationReason[] values()
for (ViolationReason c : ViolationReason.values()) System.out.println(c);
public static ViolationReason 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 nullpublic String toString()
toString in class Enum<ViolationReason>public static ViolationReason fromValue(String value)
value - real valueIllegalArgumentException - If the specified value does not map to one of the known values in this enum.Copyright © 2018. All rights reserved.