@Stability(value=Stable) public static final class CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnGatewayRoute.HttpGatewayRouteMatchProperty>
CfnGatewayRoute.HttpGatewayRouteMatchProperty| Constructor and Description |
|---|
Builder() |
@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder headers(IResolvable headers)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getHeaders()headers - The client request headers to match on.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder headers(List<? extends Object> headers)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getHeaders()headers - The client request headers to match on.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder hostname(CfnGatewayRoute.GatewayRouteHostnameMatchProperty hostname)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getHostname()hostname - The host name to match on.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder hostname(IResolvable hostname)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getHostname()hostname - The host name to match on.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder method(String method)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getMethod()method - The method to match on.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder path(CfnGatewayRoute.HttpPathMatchProperty path)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getPath()path - The path to match on.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder path(IResolvable path)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getPath()path - The path to match on.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder port(Number port)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getPort()port - `CfnGatewayRoute.HttpGatewayRouteMatchProperty.Port`.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder prefix(String prefix)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.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 CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder queryParameters(IResolvable queryParameters)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getQueryParameters()queryParameters - The query parameter to match on.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty.Builder queryParameters(List<? extends Object> queryParameters)
CfnGatewayRoute.HttpGatewayRouteMatchProperty.getQueryParameters()queryParameters - The query parameter to match on.this@Stability(value=Stable) public CfnGatewayRoute.HttpGatewayRouteMatchProperty build()
build in interface software.amazon.jsii.Builder<CfnGatewayRoute.HttpGatewayRouteMatchProperty>CfnGatewayRoute.HttpGatewayRouteMatchPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.