Class PathMatchCondition.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.PathMatchCondition.Builder
-
- Enclosing class:
- PathMatchCondition
public static class PathMatchCondition.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathMatchCondition.BuilderattributeValue(String attributeValue)The path string that the redirection rule applies to.PathMatchConditionbuild()PathMatchCondition.Buildercopy(PathMatchCondition model)PathMatchCondition.Builderoperator(PathMatchCondition.Operator operator)A string that specifies how to compare the PathMatchCondition object’s attributeValue string to the incoming URI.
-
-
-
Method Detail
-
attributeValue
public PathMatchCondition.Builder attributeValue(String attributeValue)
The path string that the redirection rule applies to.Example: /example
- Parameters:
attributeValue- the value to set- Returns:
- this builder
-
operator
public 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.
- Parameters:
operator- the value to set- Returns:
- this builder
-
build
public PathMatchCondition build()
-
copy
public PathMatchCondition.Builder copy(PathMatchCondition model)
-
-