public static interface HttpRoute.Builder extends SdkPojo, CopyableBuilder<HttpRoute.Builder,HttpRoute>
| Modifier and Type | Method and Description |
|---|---|
default HttpRoute.Builder |
action(Consumer<HttpRouteAction.Builder> action)
The action to take if a match is determined.
|
HttpRoute.Builder |
action(HttpRouteAction action)
The action to take if a match is determined.
|
default HttpRoute.Builder |
match(Consumer<HttpRouteMatch.Builder> match)
The criteria for determining an HTTP request match.
|
HttpRoute.Builder |
match(HttpRouteMatch match)
The criteria for determining an HTTP request match.
|
copyapplyMutation, buildHttpRoute.Builder action(HttpRouteAction action)
The action to take if a match is determined.
action - The action to take if a match is determined.default HttpRoute.Builder action(Consumer<HttpRouteAction.Builder> action)
The action to take if a match is determined.
This is a convenience that creates an instance of theHttpRouteAction.Builder avoiding the need to
create one manually via HttpRouteAction.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to action(HttpRouteAction).action - a consumer that will call methods on HttpRouteAction.Builderaction(HttpRouteAction)HttpRoute.Builder match(HttpRouteMatch match)
The criteria for determining an HTTP request match.
match - The criteria for determining an HTTP request match.default HttpRoute.Builder match(Consumer<HttpRouteMatch.Builder> match)
The criteria for determining an HTTP request match.
This is a convenience that creates an instance of theHttpRouteMatch.Builder avoiding the need to
create one manually via HttpRouteMatch.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to match(HttpRouteMatch).match - a consumer that will call methods on HttpRouteMatch.Buildermatch(HttpRouteMatch)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.