Interface HttpGatewayRouteMatch.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<HttpGatewayRouteMatch.Builder,HttpGatewayRouteMatch>,SdkBuilder<HttpGatewayRouteMatch.Builder,HttpGatewayRouteMatch>,SdkPojo
- Enclosing class:
- HttpGatewayRouteMatch
public static interface HttpGatewayRouteMatch.Builder extends SdkPojo, CopyableBuilder<HttpGatewayRouteMatch.Builder,HttpGatewayRouteMatch>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
headers
HttpGatewayRouteMatch.Builder headers(Collection<HttpGatewayRouteHeader> 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
HttpGatewayRouteMatch.Builder headers(HttpGatewayRouteHeader... 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
HttpGatewayRouteMatch.Builder headers(Consumer<HttpGatewayRouteHeader.Builder>... 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 to#headers(List.) - 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:
#headers(java.util.Collection)
-
hostname
HttpGatewayRouteMatch.Builder hostname(GatewayRouteHostnameMatch 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:
hostname(GatewayRouteHostnameMatch)
-
method
HttpGatewayRouteMatch.Builder method(String 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:
HttpMethod,HttpMethod
-
method
HttpGatewayRouteMatch.Builder method(HttpMethod 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:
HttpMethod,HttpMethod
-
path
HttpGatewayRouteMatch.Builder path(HttpPathMatch 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
default HttpGatewayRouteMatch.Builder path(Consumer<HttpPathMatch.Builder> 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:
path(HttpPathMatch)
-
port
HttpGatewayRouteMatch.Builder port(Integer 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
HttpGatewayRouteMatch.Builder prefix(String 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
HttpGatewayRouteMatch.Builder queryParameters(Collection<HttpQueryParameter> 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(HttpQueryParameter... 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 to#queryParameters(List.) - 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:
#queryParameters(java.util.Collection)
-
-