Class PathRoute.Builder
- java.lang.Object
-
- com.oracle.bmc.loadbalancer.model.PathRoute.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PathRoute.Builder
backendSetName(String backendSetName)
The name of the target backend set for requests where the incoming URI matches the specified path.PathRoute
build()
PathRoute.Builder
copy(PathRoute model)
PathRoute.Builder
path(String path)
The path string to match against the incoming URI path.PathRoute.Builder
pathMatchType(PathMatchType pathMatchType)
The type of matching to apply to incoming URIs.
-
-
-
Method Detail
-
path
public PathRoute.Builder path(String path)
The path string to match against the incoming URI path.Path strings are case-insensitive.
Asterisk (*) wildcards are not supported.
Regular expressions are not supported.
Example: /example/video/123
- Parameters:
path
- the value to set- Returns:
- this builder
-
pathMatchType
public PathRoute.Builder pathMatchType(PathMatchType pathMatchType)
The type of matching to apply to incoming URIs.- Parameters:
pathMatchType
- the value to set- Returns:
- this builder
-
backendSetName
public PathRoute.Builder backendSetName(String backendSetName)
The name of the target backend set for requests where the incoming URI matches the specified path.Example: example_backend_set
- Parameters:
backendSetName
- the value to set- Returns:
- this builder
-
build
public PathRoute build()
-
copy
public PathRoute.Builder copy(PathRoute model)
-
-