@Stability(value=Experimental) public static final class HttpGatewayRouteMatch.Builder extends Object implements software.amazon.jsii.Builder<HttpGatewayRouteMatch>
HttpGatewayRouteMatch| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
HttpGatewayRouteMatch |
build()
Builds the configured instance.
|
HttpGatewayRouteMatch.Builder |
prefixPath(String prefixPath)
Sets the value of
HttpGatewayRouteMatch.getPrefixPath() |
@Stability(value=Experimental) public HttpGatewayRouteMatch.Builder prefixPath(String prefixPath)
HttpGatewayRouteMatch.getPrefixPath()prefixPath - Specifies the path to match requests with. This parameter is required.
This parameter must always start with /, which by itself matches all requests to the virtual service name.
You can also match for path-based routing of requests. For example, if your virtual service name is my-service.local
and you want the route to match requests to my-service.local/metrics, your prefix should be /metrics.this@Stability(value=Experimental) public HttpGatewayRouteMatch build()
build in interface software.amazon.jsii.Builder<HttpGatewayRouteMatch>HttpGatewayRouteMatchNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.