Enum PathMatchCondition.Operator
- java.lang.Object
-
- java.lang.Enum<PathMatchCondition.Operator>
-
- com.oracle.bmc.loadbalancer.model.PathMatchCondition.Operator
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<PathMatchCondition.Operator>
- Enclosing class:
- PathMatchCondition
public static enum PathMatchCondition.Operator extends Enum<PathMatchCondition.Operator> implements BmcEnum
A string that specifies how to compare the PathMatchCondition object’s attributeValue string to the incoming URI.**EXACT_MATCH** - The incoming URI path must exactly and completely match the attributeValue string.
**FORCE_LONGEST_PREFIX_MATCH** - The system looks for the attributeValue string with the best, longest match of the beginning portion of the incoming URI path.
**PREFIX_MATCH** - The beginning portion of the incoming URI path must exactly match the attributeValue string.
**SUFFIX_MATCH** - The ending portion of the incoming URI path must exactly match the attributeValue string.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ExactMatch
ForceLongestPrefixMatch
PrefixMatch
SuffixMatch
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PathMatchCondition.Operator
create(String key)
String
getValue()
static PathMatchCondition.Operator
valueOf(String name)
Returns the enum constant of this type with the specified name.static PathMatchCondition.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ExactMatch
public static final PathMatchCondition.Operator ExactMatch
-
ForceLongestPrefixMatch
public static final PathMatchCondition.Operator ForceLongestPrefixMatch
-
PrefixMatch
public static final PathMatchCondition.Operator PrefixMatch
-
SuffixMatch
public static final PathMatchCondition.Operator SuffixMatch
-
UnknownEnumValue
public static final PathMatchCondition.Operator UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static PathMatchCondition.Operator[] 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 (PathMatchCondition.Operator c : PathMatchCondition.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PathMatchCondition.Operator 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
-
create
public static PathMatchCondition.Operator create(String key)
-
-