public static interface HttpGatewayRouteHeader.Builder extends SdkPojo, CopyableBuilder<HttpGatewayRouteHeader.Builder,HttpGatewayRouteHeader>
| Modifier and Type | Method and Description |
|---|---|
HttpGatewayRouteHeader.Builder |
invert(Boolean invert)
Specify
True 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.
|
HttpGatewayRouteHeader.Builder |
match(HeaderMatchMethod match)
An object that represents the method and value to match with the header value sent in a request.
|
HttpGatewayRouteHeader.Builder |
name(String name)
A name for the HTTP header in the gateway route that will be matched on.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHttpGatewayRouteHeader.Builder invert(Boolean invert)
Specify True to match anything except the match criteria. The default value is
False.
invert - Specify True to match anything except the match criteria. The default value is
False.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.
match - An object that represents the method and value to match with the header value sent in a request.
Specify one match method.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.Builder avoiding the
need to create one manually via HeaderMatchMethod.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to match(HeaderMatchMethod).
match - a consumer that will call methods on HeaderMatchMethod.Buildermatch(HeaderMatchMethod)HttpGatewayRouteHeader.Builder name(String name)
A name for the HTTP header in the gateway route that will be matched on.
name - A name for the HTTP header in the gateway route that will be matched on.Copyright © 2023. All rights reserved.