Package com.amazonaws.services.waf.model
Enum WafActionType
- java.lang.Object
-
- java.lang.Enum<WafActionType>
-
- com.amazonaws.services.waf.model.WafActionType
-
- All Implemented Interfaces:
Serializable
,Comparable<WafActionType>
public enum WafActionType extends Enum<WafActionType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WafActionType
fromValue(String value)
Use this in place of valueOf.String
toString()
static WafActionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static WafActionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOCK
public static final WafActionType BLOCK
-
ALLOW
public static final WafActionType ALLOW
-
COUNT
public static final WafActionType COUNT
-
-
Method Detail
-
values
public static WafActionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WafActionType c : WafActionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WafActionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<WafActionType>
-
fromValue
public static WafActionType fromValue(String value)
Use this in place of valueOf.- Parameters:
value
- real value- Returns:
- WafActionType corresponding to the value
-
-