Enum ComparisonOperator

java.lang.Object
java.lang.Enum<ComparisonOperator>
software.amazon.awssdk.services.computeoptimizerautomation.model.ComparisonOperator
All Implemented Interfaces:
Serializable, Comparable<ComparisonOperator>

@Generated("software.amazon.awssdk:codegen") public enum ComparisonOperator extends Enum<ComparisonOperator>
  • Enum Constant Details

    • STRING_EQUALS

      public static final ComparisonOperator STRING_EQUALS
    • STRING_NOT_EQUALS

      public static final ComparisonOperator STRING_NOT_EQUALS
    • STRING_EQUALS_IGNORE_CASE

      public static final ComparisonOperator STRING_EQUALS_IGNORE_CASE
    • STRING_NOT_EQUALS_IGNORE_CASE

      public static final ComparisonOperator STRING_NOT_EQUALS_IGNORE_CASE
    • STRING_LIKE

      public static final ComparisonOperator STRING_LIKE
    • STRING_NOT_LIKE

      public static final ComparisonOperator STRING_NOT_LIKE
    • NUMERIC_EQUALS

      public static final ComparisonOperator NUMERIC_EQUALS
    • NUMERIC_NOT_EQUALS

      public static final ComparisonOperator NUMERIC_NOT_EQUALS
    • NUMERIC_LESS_THAN

      public static final ComparisonOperator NUMERIC_LESS_THAN
    • NUMERIC_LESS_THAN_EQUALS

      public static final ComparisonOperator NUMERIC_LESS_THAN_EQUALS
    • NUMERIC_GREATER_THAN

      public static final ComparisonOperator NUMERIC_GREATER_THAN
    • NUMERIC_GREATER_THAN_EQUALS

      public static final ComparisonOperator NUMERIC_GREATER_THAN_EQUALS
    • STRING_EQUALS_IF_EXISTS

      public static final ComparisonOperator STRING_EQUALS_IF_EXISTS
    • STRING_NOT_EQUALS_IF_EXISTS

      public static final ComparisonOperator STRING_NOT_EQUALS_IF_EXISTS
    • STRING_EQUALS_IGNORE_CASE_IF_EXISTS

      public static final ComparisonOperator STRING_EQUALS_IGNORE_CASE_IF_EXISTS
    • STRING_NOT_EQUALS_IGNORE_CASE_IF_EXISTS

      public static final ComparisonOperator STRING_NOT_EQUALS_IGNORE_CASE_IF_EXISTS
    • STRING_LIKE_IF_EXISTS

      public static final ComparisonOperator STRING_LIKE_IF_EXISTS
    • STRING_NOT_LIKE_IF_EXISTS

      public static final ComparisonOperator STRING_NOT_LIKE_IF_EXISTS
    • NUMERIC_EQUALS_IF_EXISTS

      public static final ComparisonOperator NUMERIC_EQUALS_IF_EXISTS
    • NUMERIC_NOT_EQUALS_IF_EXISTS

      public static final ComparisonOperator NUMERIC_NOT_EQUALS_IF_EXISTS
    • NUMERIC_LESS_THAN_IF_EXISTS

      public static final ComparisonOperator NUMERIC_LESS_THAN_IF_EXISTS
    • NUMERIC_LESS_THAN_EQUALS_IF_EXISTS

      public static final ComparisonOperator NUMERIC_LESS_THAN_EQUALS_IF_EXISTS
    • NUMERIC_GREATER_THAN_IF_EXISTS

      public static final ComparisonOperator NUMERIC_GREATER_THAN_IF_EXISTS
    • NUMERIC_GREATER_THAN_EQUALS_IF_EXISTS

      public static final ComparisonOperator NUMERIC_GREATER_THAN_EQUALS_IF_EXISTS
    • UNKNOWN_TO_SDK_VERSION

      public static final ComparisonOperator UNKNOWN_TO_SDK_VERSION
  • Method Details

    • values

      public static ComparisonOperator[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ComparisonOperator 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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ComparisonOperator>
    • fromValue

      public static ComparisonOperator fromValue(String value)
      Use this in place of valueOf to convert the raw string returned by the service into the enum value.
      Parameters:
      value - real value
      Returns:
      ComparisonOperator corresponding to the value
    • knownValues

      public static Set<ComparisonOperator> knownValues()
      Use this in place of values() to return a Set of all values known to the SDK. This will return all known enum values except UNKNOWN_TO_SDK_VERSION.
      Returns:
      a Set of known ComparisonOperators