@Stability(value=Stable) public static final class CfnRoute.HttpRouteMatchProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnRoute.HttpRouteMatchProperty>
CfnRoute.HttpRouteMatchProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty.Builder headers(IResolvable headers)
CfnRoute.HttpRouteMatchProperty.getHeaders()headers - The client request headers to match on.this@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty.Builder headers(List<? extends Object> headers)
CfnRoute.HttpRouteMatchProperty.getHeaders()headers - The client request headers to match on.this@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty.Builder method(String method)
CfnRoute.HttpRouteMatchProperty.getMethod()method - The client request method to match on.
Specify only one.this@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty.Builder path(CfnRoute.HttpPathMatchProperty path)
CfnRoute.HttpRouteMatchProperty.getPath()path - The client request path to match on.this@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty.Builder path(IResolvable path)
CfnRoute.HttpRouteMatchProperty.getPath()path - The client request path to match on.this@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty.Builder port(Number port)
CfnRoute.HttpRouteMatchProperty.getPort()port - `CfnRoute.HttpRouteMatchProperty.Port`.this@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty.Builder prefix(String prefix)
CfnRoute.HttpRouteMatchProperty.getPrefix()prefix - Specifies the path to match requests with.
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=Stable) public CfnRoute.HttpRouteMatchProperty.Builder queryParameters(IResolvable queryParameters)
CfnRoute.HttpRouteMatchProperty.getQueryParameters()queryParameters - The client request query parameters to match on.this@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty.Builder queryParameters(List<? extends Object> queryParameters)
CfnRoute.HttpRouteMatchProperty.getQueryParameters()queryParameters - The client request query parameters to match on.this@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty.Builder scheme(String scheme)
CfnRoute.HttpRouteMatchProperty.getScheme()scheme - The client request scheme to match on.
Specify only one. Applicable only for HTTP2 routes.this@Stability(value=Stable) public CfnRoute.HttpRouteMatchProperty build()
build in interface software.amazon.jsii.Builder<CfnRoute.HttpRouteMatchProperty>CfnRoute.HttpRouteMatchPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.