Operator Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. security. models. Operator
- com.
- com.
public final class Operator
extends ExpandableStringEnum<Operator>
A valid comparer operator to use. A case-insensitive comparison will be applied for String PropertyType.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
| static final Operator |
CONTAINS
Applies only for non-decimal operands. |
| static final Operator |
ENDS_WITH
Applies only for non-decimal operands. |
| static final Operator |
EQUALS
Applies for decimal and non-decimal operands. |
| static final Operator |
GREATER_THAN
Applies only for decimal operands. |
| static final Operator |
GREATER_THAN_OR_EQUAL_TO
Applies only for decimal operands. |
| static final Operator |
LESSER_THAN
Applies only for decimal operands. |
| static final Operator |
LESSER_THAN_OR_EQUAL_TO
Applies only for decimal operands. |
| static final Operator |
NOT_EQUALS
Applies for decimal and non-decimal operands. |
| static final Operator |
STARTS_WITH
Applies only for non-decimal operands. |
Constructor Summary
| Constructor | Description |
|---|---|
| Operator() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Operator value. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| static Operator |
fromString(String name)
Creates or finds a Operator from its string representation. |
| static Collection<Operator> |
values()
Gets known Operator values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CONTAINS
public static final Operator CONTAINS
Applies only for non-decimal operands.
ENDS_WITH
public static final Operator ENDS_WITH
Applies only for non-decimal operands.
EQUALS
public static final Operator EQUALS
Applies for decimal and non-decimal operands.
GREATER_THAN
public static final Operator GREATER_THAN
Applies only for decimal operands.
GREATER_THAN_OR_EQUAL_TO
public static final Operator GREATER_THAN_OR_EQUAL_TO
Applies only for decimal operands.
LESSER_THAN
public static final Operator LESSER_THAN
Applies only for decimal operands.
LESSER_THAN_OR_EQUAL_TO
public static final Operator LESSER_THAN_OR_EQUAL_TO
Applies only for decimal operands.
NOT_EQUALS
public static final Operator NOT_EQUALS
Applies for decimal and non-decimal operands.
STARTS_WITH
public static final Operator STARTS_WITH
Applies only for non-decimal operands.
Constructor Details
Operator
@Deprecated
public Operator()
Deprecated
Creates a new instance of Operator value.
Method Details
fromString
public static Operator fromString(String name)
Creates or finds a Operator from its string representation.
Parameters:
Returns:
values
public static Collection<Operator> values()
Gets known Operator values.
Returns: