Interface HttpRouteHeader.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<HttpRouteHeader.Builder,
,HttpRouteHeader> SdkBuilder<HttpRouteHeader.Builder,
,HttpRouteHeader> SdkPojo
- Enclosing class:
HttpRouteHeader
public static interface HttpRouteHeader.Builder
extends SdkPojo, CopyableBuilder<HttpRouteHeader.Builder,HttpRouteHeader>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifyTrue
to match anything except the match criteria.default HttpRouteHeader.Builder
match
(Consumer<HeaderMatchMethod.Builder> match) TheHeaderMatchMethod
object.match
(HeaderMatchMethod match) TheHeaderMatchMethod
object.A name for the HTTP header in the client request 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
The
HeaderMatchMethod
object.- Parameters:
match
- TheHeaderMatchMethod
object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
match
The
This is a convenience method that creates an instance of theHeaderMatchMethod
object.HeaderMatchMethod.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 client request that will be matched on.
- Parameters:
name
- A name for the HTTP header in the client request that will be matched on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-