Package org.iam.policy.grammer
Enum Class Condition.VarOperator
- All Implemented Interfaces:
Serializable,Comparable<Condition.VarOperator>,Constable,StringComparableEnum
- Enclosing class:
- Condition
public static enum Condition.VarOperator
extends Enum<Condition.VarOperator>
implements StringComparableEnum
Enum for supported condition operators.
This enum defines the set of operators that can be used in policy conditions. Operators specify how key-value pairs are evaluated, including string equality, pattern matching, case-insensitive checks, ARN and IP address comparisons, and more.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionstatic Condition.VarOperatorfromString(String value) getValue()Returns the string value associated with the enum constant.static booleanstatic Condition.VarOperatorReturns the enum constant of this class with the specified name.static Condition.VarOperator[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FOR_ALL_VALUES_STRING_EQUALS
-
FOR_ALL_VALUES_STRING_NOT_EQUALS
-
FOR_ALL_VALUES_STRING_EQUALS_IGNORE_CASE
-
FOR_ALL_VALUES_STRING_NOT_EQUALS_IGNORE_CASE
-
FOR_ALL_VALUES_STRING_MATCH
-
FOR_ALL_VALUES_STRING_NOT_MATCH
-
FOR_ALL_VALUES_STRING_Like
-
FOR_ALL_VALUES_STRING_NOT_Like
-
FOR_ANY_VALUE_STRING_EQUALS
-
FOR_ANY_VALUE_STRING_NOT_EQUALS
-
FOR_ANY_VALUE_STRING_EQUALS_IGNORE_CASE
-
FOR_ANY_VALUE_STRING_NOT_EQUALS_IGNORE_CASE
-
FOR_ANY_VALUE_STRING_MATCH
-
FOR_ANY_VALUE_STRING_NOT_MATCH
-
FOR_ANY_VALUE_STRING_Like
-
FOR_ANY_VALUE_STRING_NOT_Like
-
STRING_EQUALS
-
STRING_NOT_EQUALS
-
STRING_EQUALS_IGNORE_CASE
-
STRING_NOT_EQUALS_IGNORE_CASE
-
STRING_EQUALS_IF_EXISTS
-
STRING_NOT_EQUALS_IF_EXISTS
-
STRING_MATCH
-
STRING_NOT_MATCH
-
STRING_Like
-
STRING_NOT_Like
-
STRING_MATCH_IF_EXISTS
-
STRING_NOT_MATCH_IF_EXISTS
-
ARN_LIKE
-
ARN_NOT_LIKE
-
IPADDRESS
-
NOTIPADDRESS
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
Description copied from interface:StringComparableEnumReturns the string value associated with the enum constant.- Specified by:
getValuein interfaceStringComparableEnum- Returns:
- the string value
-
isValid
-
fromString
-