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 TypeMethodDescriptionSpecifyTrueto match anything except the match criteria.default HttpRouteHeader.Buildermatch(Consumer<HeaderMatchMethod.Builder> match) TheHeaderMatchMethodobject.match(HeaderMatchMethod match) TheHeaderMatchMethodobject.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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
invert
Specify
Trueto match anything except the match criteria. The default value isFalse.- Parameters:
invert- SpecifyTrueto 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
HeaderMatchMethodobject.- Parameters:
match- TheHeaderMatchMethodobject.- 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 theHeaderMatchMethodobject.HeaderMatchMethod.Builderavoiding the need to create one manually viaHeaderMatchMethod.builder().When the
Consumercompletes,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.
-