public static interface HttpRouteMatch.Builder extends SdkPojo, CopyableBuilder<HttpRouteMatch.Builder,HttpRouteMatch>
Modifier and Type | Method and Description |
---|---|
HttpRouteMatch.Builder |
prefix(String prefix)
Specifies the path with which to match requests.
|
copy
applyMutation, build
HttpRouteMatch.Builder prefix(String prefix)
Specifies the path with which to match requests. This parameter must always start with /
, which
by itself matches all requests to the virtual router service name. You can also match for path-based routing
of requests. For example, if your virtual router service name is my-service.local
, and you want
the route to match requests to my-service.local/metrics
, then your prefix should be
/metrics
.
prefix
- Specifies the path with which to match requests. This parameter must always start with /
,
which by itself matches all requests to the virtual router service name. You can also match for
path-based routing of requests. For example, if your virtual router service name is
my-service.local
, and you want the route to match requests to
my-service.local/metrics
, then your prefix should be /metrics
.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.