@Generated(value="OracleSDKGenerator", comments="API Version: 20170115") public final class PathMatchCondition extends RuleCondition
The path string and match condition to apply when evaluating an incoming URI for redirection.
PathMatchCondition.Builder. This model distinguishes fields
that are null because they are unset from fields that are explicitly set to null. This is done in
the setter methods of the PathMatchCondition.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).| Modifier and Type | Class and Description |
|---|---|
static class |
PathMatchCondition.Builder |
static class |
PathMatchCondition.Operator
A string that specifies how to compare the PathMatchCondition object’s
attributeValue string to the
incoming URI. |
RuleCondition.AttributeName| Constructor and Description |
|---|
PathMatchCondition(String attributeValue,
PathMatchCondition.Operator operator)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static PathMatchCondition.Builder |
builder()
Create a new builder.
|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getAttributeValue()
The path string that the redirection rule applies to.
|
PathMatchCondition.Operator |
getOperator()
A string that specifies how to compare the PathMatchCondition object’s
attributeValue string to the
incoming URI. |
int |
hashCode() |
PathMatchCondition.Builder |
toBuilder() |
String |
toString() |
@Deprecated public PathMatchCondition(String attributeValue, PathMatchCondition.Operator operator)
public static PathMatchCondition.Builder builder()
Create a new builder.
public PathMatchCondition.Builder toBuilder()
public String getAttributeValue()
The path string that the redirection rule applies to.
Example: `/example`
public PathMatchCondition.Operator getOperator()
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.
public String toString()
toString in class RuleConditionpublic boolean equals(Object o)
equals in class RuleConditionprotected boolean canEqual(Object other)
canEqual in class RuleConditionpublic int hashCode()
hashCode in class RuleConditionCopyright © 2016–2021. All rights reserved.