public static interface RouteSpec.Builder extends SdkPojo, CopyableBuilder<RouteSpec.Builder,RouteSpec>
| Modifier and Type | Method and Description |
|---|---|
default RouteSpec.Builder |
httpRoute(Consumer<HttpRoute.Builder> httpRoute)
The HTTP routing information for the route.
|
RouteSpec.Builder |
httpRoute(HttpRoute httpRoute)
The HTTP routing information for the route.
|
copyapplyMutation, buildRouteSpec.Builder httpRoute(HttpRoute httpRoute)
The HTTP routing information for the route.
httpRoute - The HTTP routing information for the route.default RouteSpec.Builder httpRoute(Consumer<HttpRoute.Builder> httpRoute)
The HTTP routing information for the route.
This is a convenience that creates an instance of theHttpRoute.Builder avoiding the need to create
one manually via HttpRoute.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to httpRoute(HttpRoute).httpRoute - a consumer that will call methods on HttpRoute.BuilderhttpRoute(HttpRoute)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.