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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description HttpGatewayRouteHeader.Builderinvert(Boolean invert)SpecifyTrueto 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.HttpGatewayRouteHeader.Buildermatch(HeaderMatchMethod match)An object that represents the method and value to match with the header value sent in a request.HttpGatewayRouteHeader.Buildername(String name)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 Detail
-
invert
HttpGatewayRouteHeader.Builder invert(Boolean 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
HttpGatewayRouteHeader.Builder match(HeaderMatchMethod 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
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. 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:
match(HeaderMatchMethod)
-
name
HttpGatewayRouteHeader.Builder name(String 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.
-
-