public static class PathMatchCondition.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PathMatchCondition.Builder |
attributeValue(String attributeValue)
The path string that the redirection rule applies to.
|
PathMatchCondition |
build() |
PathMatchCondition.Builder |
copy(PathMatchCondition model) |
PathMatchCondition.Builder |
operator(PathMatchCondition.Operator operator)
A string that specifies how to compare the PathMatchCondition object’s
attributeValue string to the incoming URI. |
public PathMatchCondition.Builder attributeValue(String attributeValue)
The path string that the redirection rule applies to.
Example: /example
attributeValue
- the value to setpublic PathMatchCondition.Builder operator(PathMatchCondition.Operator operator)
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.
operator
- the value to setpublic PathMatchCondition build()
public PathMatchCondition.Builder copy(PathMatchCondition model)
Copyright © 2016–2024. All rights reserved.