Class PathMatchType.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.PathMatchType.Builder
-
- Enclosing class:
- PathMatchType
public static class PathMatchType.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathMatchType
build()
PathMatchType.Builder
copy(PathMatchType model)
PathMatchType.Builder
matchType(PathMatchType.MatchType matchType)
Specifies how the load balancing service compares apathRoute
object’s path string against the incoming URI.
-
-
-
Method Detail
-
matchType
public PathMatchType.Builder matchType(PathMatchType.MatchType matchType)
Specifies how the load balancing service compares apathRoute
object’s path string against the incoming URI.**EXACT_MATCH** - Looks for a path string that exactly matches the incoming URI path.
**FORCE_LONGEST_PREFIX_MATCH** - Looks for the path string with the best, longest match of the beginning portion of the incoming URI path.
**PREFIX_MATCH** - Looks for a path string that matches the beginning portion of the incoming URI path.
**SUFFIX_MATCH** - Looks for a path string that matches the ending portion of the incoming URI path.
For a full description of how the system handles matchType in a path route set containing multiple rules, see [Managing Request Routing](https://docs.oracle.com/iaas/Content/Balance/Tasks/managingrequest.htm).
- Parameters:
matchType
- the value to set- Returns:
- this builder
-
build
public PathMatchType build()
-
copy
public PathMatchType.Builder copy(PathMatchType model)
-
-