public static interface UriPathRouteInput.Builder extends SdkPojo, CopyableBuilder<UriPathRouteInput.Builder,UriPathRouteInput>
| Modifier and Type | Method and Description |
|---|---|
UriPathRouteInput.Builder |
activationState(RouteActivationState activationState)
If set to
ACTIVE, traffic is forwarded to this route’s service after the route is created. |
UriPathRouteInput.Builder |
activationState(String activationState)
If set to
ACTIVE, traffic is forwarded to this route’s service after the route is created. |
UriPathRouteInput.Builder |
includeChildPaths(Boolean includeChildPaths)
Indicates whether to match all subpaths of the given source path.
|
UriPathRouteInput.Builder |
methods(Collection<HttpMethod> methods)
A list of HTTP methods to match.
|
UriPathRouteInput.Builder |
methods(HttpMethod... methods)
A list of HTTP methods to match.
|
UriPathRouteInput.Builder |
methodsWithStrings(Collection<String> methods)
A list of HTTP methods to match.
|
UriPathRouteInput.Builder |
methodsWithStrings(String... methods)
A list of HTTP methods to match.
|
UriPathRouteInput.Builder |
sourcePath(String sourcePath)
The path to use to match traffic.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUriPathRouteInput.Builder activationState(String activationState)
If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.
activationState - If set to ACTIVE, traffic is forwarded to this route’s service after the route is
created.RouteActivationState,
RouteActivationStateUriPathRouteInput.Builder activationState(RouteActivationState activationState)
If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.
activationState - If set to ACTIVE, traffic is forwarded to this route’s service after the route is
created.RouteActivationState,
RouteActivationStateUriPathRouteInput.Builder includeChildPaths(Boolean includeChildPaths)
Indicates whether to match all subpaths of the given source path. If this value is false,
requests must match the source path exactly before they are forwarded to this route's service.
includeChildPaths - Indicates whether to match all subpaths of the given source path. If this value is false,
requests must match the source path exactly before they are forwarded to this route's service.UriPathRouteInput.Builder methodsWithStrings(Collection<String> methods)
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
methods - A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP
requests using that method are forwarded to this route’s service.UriPathRouteInput.Builder methodsWithStrings(String... methods)
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
methods - A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP
requests using that method are forwarded to this route’s service.UriPathRouteInput.Builder methods(Collection<HttpMethod> methods)
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
methods - A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP
requests using that method are forwarded to this route’s service.UriPathRouteInput.Builder methods(HttpMethod... methods)
A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.
methods - A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP
requests using that method are forwarded to this route’s service.UriPathRouteInput.Builder sourcePath(String sourcePath)
The path to use to match traffic. Paths must start with / and are relative to the base of the
application.
sourcePath - The path to use to match traffic. Paths must start with / and are relative to the base of
the application.Copyright © 2022. All rights reserved.