@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum ViolationReason extends Enum<ViolationReason>
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 final ViolationReason RESOURCE_MISSING_SHIELD_PROTECTION
public static final ViolationReason RESOURCE_MISSING_WEB_ACL_OR_SHIELD_PROTECTION
public static final ViolationReason RESOURCE_MISSING_SECURITY_GROUP
public static final ViolationReason RESOURCE_VIOLATES_AUDIT_SECURITY_GROUP
public static final ViolationReason SECURITY_GROUP_UNUSED
public static final ViolationReason SECURITY_GROUP_REDUNDANT
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 © 2013 Amazon Web Services, Inc. All Rights Reserved.