Enum Class ConditionOperator

java.lang.Object
java.lang.Enum<ConditionOperator>
com.salesforce.multicloudj.iam.model.ConditionOperator
All Implemented Interfaces:
Serializable, Comparable<ConditionOperator>, Constable

public enum ConditionOperator extends Enum<ConditionOperator>
Condition operators for IAM policy conditions.

These operators are used to define conditions under which a policy statement applies. They follow substrate-neutral naming conventions and are translated to provider-specific formats (e.g., "stringEquals" → "StringEquals" in AWS).

  • Enum Constant Details

    • STRING_EQUALS

      public static final ConditionOperator STRING_EQUALS
      String equality comparison
    • STRING_NOT_EQUALS

      public static final ConditionOperator STRING_NOT_EQUALS
      String inequality comparison
    • STRING_LIKE

      public static final ConditionOperator STRING_LIKE
      String pattern matching (supports wildcards)
    • STRING_NOT_LIKE

      public static final ConditionOperator STRING_NOT_LIKE
      Negated string pattern matching
    • NUMERIC_EQUALS

      public static final ConditionOperator NUMERIC_EQUALS
      Numeric equality comparison
    • NUMERIC_NOT_EQUALS

      public static final ConditionOperator NUMERIC_NOT_EQUALS
      Numeric inequality comparison
    • NUMERIC_LESS_THAN

      public static final ConditionOperator NUMERIC_LESS_THAN
      Numeric less-than comparison
    • NUMERIC_LESS_THAN_EQUALS

      public static final ConditionOperator NUMERIC_LESS_THAN_EQUALS
      Numeric less-than-or-equal comparison
    • NUMERIC_GREATER_THAN

      public static final ConditionOperator NUMERIC_GREATER_THAN
      Numeric greater-than comparison
    • NUMERIC_GREATER_THAN_EQUALS

      public static final ConditionOperator NUMERIC_GREATER_THAN_EQUALS
      Numeric greater-than-or-equal comparison
    • DATE_EQUALS

      public static final ConditionOperator DATE_EQUALS
      Date equality comparison
    • DATE_NOT_EQUALS

      public static final ConditionOperator DATE_NOT_EQUALS
      Date inequality comparison
    • DATE_LESS_THAN

      public static final ConditionOperator DATE_LESS_THAN
      Date less-than (before) comparison
    • DATE_LESS_THAN_EQUALS

      public static final ConditionOperator DATE_LESS_THAN_EQUALS
      Date less-than-or-equal comparison
    • DATE_GREATER_THAN

      public static final ConditionOperator DATE_GREATER_THAN
      Date greater-than (after) comparison
    • DATE_GREATER_THAN_EQUALS

      public static final ConditionOperator DATE_GREATER_THAN_EQUALS
      Date greater-than-or-equal comparison
    • BOOL

      public static final ConditionOperator BOOL
      Boolean comparison
    • IP_ADDRESS

      public static final ConditionOperator IP_ADDRESS
      IP address matching
    • NOT_IP_ADDRESS

      public static final ConditionOperator NOT_IP_ADDRESS
      Negated IP address matching
  • Method Details

    • values

      public static ConditionOperator[] 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

      public static ConditionOperator valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
      Returns the string representation used in policy documents.
      Returns:
      the operator value
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ConditionOperator>