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 TypeMethodDescriptionSpecifyTrueto match anything except the match criteria.default HttpGatewayRouteHeader.Buildermatch(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
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
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.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 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.
-