@Stability(value=Stable) 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 |
headers(List<? extends HeaderMatch> headers)
Sets the value of
HttpGatewayRouteMatch.getHeaders() |
HttpGatewayRouteMatch.Builder |
hostname(GatewayRouteHostnameMatch hostname)
Sets the value of
HttpGatewayRouteMatch.getHostname() |
HttpGatewayRouteMatch.Builder |
method(HttpRouteMethod method)
Sets the value of
HttpGatewayRouteMatch.getMethod() |
HttpGatewayRouteMatch.Builder |
path(HttpGatewayRoutePathMatch path)
Sets the value of
HttpGatewayRouteMatch.getPath() |
HttpGatewayRouteMatch.Builder |
queryParameters(List<? extends QueryParameterMatch> queryParameters)
Sets the value of
HttpGatewayRouteMatch.getQueryParameters() |
HttpGatewayRouteMatch.Builder |
rewriteRequestHostname(Boolean rewriteRequestHostname)
Sets the value of
HttpGatewayRouteMatch.getRewriteRequestHostname() |
@Stability(value=Stable) public HttpGatewayRouteMatch.Builder headers(List<? extends HeaderMatch> headers)
HttpGatewayRouteMatch.getHeaders()headers - Specifies the client request headers to match on.
All specified headers
must match for the gateway route to match.this@Stability(value=Stable) public HttpGatewayRouteMatch.Builder hostname(GatewayRouteHostnameMatch hostname)
HttpGatewayRouteMatch.getHostname()hostname - The gateway route host name to be matched on.this@Stability(value=Stable) public HttpGatewayRouteMatch.Builder method(HttpRouteMethod method)
HttpGatewayRouteMatch.getMethod()method - The method to match on.this@Stability(value=Stable) public HttpGatewayRouteMatch.Builder path(HttpGatewayRoutePathMatch path)
HttpGatewayRouteMatch.getPath()path - Specify how to match requests based on the 'path' part of their URL.this@Stability(value=Stable) public HttpGatewayRouteMatch.Builder queryParameters(List<? extends QueryParameterMatch> queryParameters)
HttpGatewayRouteMatch.getQueryParameters()queryParameters - The query parameters to match on.
All specified query parameters must match for the route to match.this@Stability(value=Stable) public HttpGatewayRouteMatch.Builder rewriteRequestHostname(Boolean rewriteRequestHostname)
HttpGatewayRouteMatch.getRewriteRequestHostname()rewriteRequestHostname - When `true`, rewrites the original request received at the Virtual Gateway to the destination Virtual Service name.
When false, retains the original hostname from the request.this@Stability(value=Stable) public HttpGatewayRouteMatch build()
build in interface software.amazon.jsii.Builder<HttpGatewayRouteMatch>HttpGatewayRouteMatchNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.