Interface HttpGatewayRouteMatch.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<HttpGatewayRouteMatch.Builder,,HttpGatewayRouteMatch> SdkBuilder<HttpGatewayRouteMatch.Builder,,HttpGatewayRouteMatch> SdkPojo
- Enclosing class:
HttpGatewayRouteMatch
-
Method Summary
Modifier and TypeMethodDescriptionheaders(Collection<HttpGatewayRouteHeader> headers) The client request headers to match on.headers(Consumer<HttpGatewayRouteHeader.Builder>... headers) The client request headers to match on.headers(HttpGatewayRouteHeader... headers) The client request headers to match on.default HttpGatewayRouteMatch.Builderhostname(Consumer<GatewayRouteHostnameMatch.Builder> hostname) The host name to match on.hostname(GatewayRouteHostnameMatch hostname) The host name to match on.The method to match on.method(HttpMethod method) The method to match on.default HttpGatewayRouteMatch.Builderpath(Consumer<HttpPathMatch.Builder> path) The path to match on.path(HttpPathMatch path) The path to match on.The port number to match on.Specifies the path to match requests with.queryParameters(Collection<HttpQueryParameter> queryParameters) The query parameter to match on.queryParameters(Consumer<HttpQueryParameter.Builder>... queryParameters) The query parameter to match on.queryParameters(HttpQueryParameter... queryParameters) The query parameter to match on.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
headers
The client request headers to match on.
- Parameters:
headers- The client request headers to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headers
The client request headers to match on.
- Parameters:
headers- The client request headers to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
headers
The client request headers to match on.
This is a convenience method that creates an instance of theHttpGatewayRouteHeader.Builderavoiding the need to create one manually viaHttpGatewayRouteHeader.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toheaders(List<HttpGatewayRouteHeader>).- Parameters:
headers- a consumer that will call methods onHttpGatewayRouteHeader.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
hostname
The host name to match on.
- Parameters:
hostname- The host name to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
hostname
default HttpGatewayRouteMatch.Builder hostname(Consumer<GatewayRouteHostnameMatch.Builder> hostname) The host name to match on.
This is a convenience method that creates an instance of theGatewayRouteHostnameMatch.Builderavoiding the need to create one manually viaGatewayRouteHostnameMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tohostname(GatewayRouteHostnameMatch).- Parameters:
hostname- a consumer that will call methods onGatewayRouteHostnameMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
method
The method to match on.
- Parameters:
method- The method to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
method
The method to match on.
- Parameters:
method- The method to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
path
The path to match on.
- Parameters:
path- The path to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
The path to match on.
This is a convenience method that creates an instance of theHttpPathMatch.Builderavoiding the need to create one manually viaHttpPathMatch.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topath(HttpPathMatch).- Parameters:
path- a consumer that will call methods onHttpPathMatch.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
port
The port number to match on.
- Parameters:
port- The port number to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ismy-service.localand you want the route to match requests tomy-service.local/metrics, your prefix should be/metrics.- Parameters:
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 ismy-service.localand you want the route to match requests tomy-service.local/metrics, your prefix should be/metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryParameters
The query parameter to match on.
- Parameters:
queryParameters- The query parameter to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryParameters
The query parameter to match on.
- Parameters:
queryParameters- The query parameter to match on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queryParameters
HttpGatewayRouteMatch.Builder queryParameters(Consumer<HttpQueryParameter.Builder>... queryParameters) The query parameter to match on.
This is a convenience method that creates an instance of theHttpQueryParameter.Builderavoiding the need to create one manually viaHttpQueryParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toqueryParameters(List<HttpQueryParameter>).- Parameters:
queryParameters- a consumer that will call methods onHttpQueryParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-