public static interface HttpGatewayRoute.Builder extends SdkPojo, CopyableBuilder<HttpGatewayRoute.Builder,HttpGatewayRoute>
| Modifier and Type | Method and Description |
|---|---|
default HttpGatewayRoute.Builder |
action(Consumer<HttpGatewayRouteAction.Builder> action)
An object that represents the action to take if a match is determined.
|
HttpGatewayRoute.Builder |
action(HttpGatewayRouteAction action)
An object that represents the action to take if a match is determined.
|
default HttpGatewayRoute.Builder |
match(Consumer<HttpGatewayRouteMatch.Builder> match)
An object that represents the criteria for determining a request match.
|
HttpGatewayRoute.Builder |
match(HttpGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildHttpGatewayRoute.Builder action(HttpGatewayRouteAction action)
An object that represents the action to take if a match is determined.
action - An object that represents the action to take if a match is determined.default HttpGatewayRoute.Builder action(Consumer<HttpGatewayRouteAction.Builder> action)
An object that represents the action to take if a match is determined.
This is a convenience that creates an instance of theHttpGatewayRouteAction.Builder avoiding the
need to create one manually via HttpGatewayRouteAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to action(HttpGatewayRouteAction).action - a consumer that will call methods on HttpGatewayRouteAction.Builderaction(HttpGatewayRouteAction)HttpGatewayRoute.Builder match(HttpGatewayRouteMatch match)
An object that represents the criteria for determining a request match.
match - An object that represents the criteria for determining a request match.default HttpGatewayRoute.Builder match(Consumer<HttpGatewayRouteMatch.Builder> match)
An object that represents the criteria for determining a request match.
This is a convenience that creates an instance of theHttpGatewayRouteMatch.Builder avoiding the need
to create one manually via HttpGatewayRouteMatch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to match(HttpGatewayRouteMatch).match - a consumer that will call methods on HttpGatewayRouteMatch.Buildermatch(HttpGatewayRouteMatch)Copyright © 2021. All rights reserved.