Interface HttpGatewayRouteHeader.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HttpGatewayRouteHeader.Builder,
,HttpGatewayRouteHeader> SdkBuilder<HttpGatewayRouteHeader.Builder,
,HttpGatewayRouteHeader> SdkPojo
- Enclosing class:
HttpGatewayRouteHeader
public static interface HttpGatewayRouteHeader.Builder
extends SdkPojo, CopyableBuilder<HttpGatewayRouteHeader.Builder,HttpGatewayRouteHeader>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifyTrue
to match anything except the match criteria.default HttpGatewayRouteHeader.Builder
match
(Consumer<HeaderMatchMethod.Builder> match) An object that represents the method and value to match with the header value sent in a request.match
(HeaderMatchMethod match) An object that represents the method and value to match with the header value sent in a request.A name for the HTTP header in the gateway route that will be matched on.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 Details
-
invert
Specify
True
to match anything except the match criteria. The default value isFalse
.- Parameters:
invert
- SpecifyTrue
to match anything except the match criteria. The default value isFalse
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
An object that represents the method and value to match with the header value sent in a request. Specify one match method.
- Parameters:
match
- An object that represents the method and value to match with the header value sent in a request. Specify one match method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
An object that represents the method and value to match with the header value sent in a request. Specify one match method.
This is a convenience method that creates an instance of theHeaderMatchMethod.Builder
avoiding the need to create one manually viaHeaderMatchMethod.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatch(HeaderMatchMethod)
.- Parameters:
match
- a consumer that will call methods onHeaderMatchMethod.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
A name for the HTTP header in the gateway route that will be matched on.
- Parameters:
name
- A name for the HTTP header in the gateway route that will be matched on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-