public static interface ListRoutesResponse.Builder extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListRoutesResponse.Builder,ListRoutesResponse>
Modifier and Type | Method and Description |
---|---|
ListRoutesResponse.Builder |
nextToken(String nextToken)
The
nextToken value to include in a future ListRoutes request. |
ListRoutesResponse.Builder |
routes(Collection<RouteRef> routes)
The list of existing routes for the specified service mesh and virtual router.
|
ListRoutesResponse.Builder |
routes(Consumer<RouteRef.Builder>... routes)
The list of existing routes for the specified service mesh and virtual router.
|
ListRoutesResponse.Builder |
routes(RouteRef... routes)
The list of existing routes for the specified service mesh and virtual router.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListRoutesResponse.Builder nextToken(String nextToken)
The nextToken
value to include in a future ListRoutes
request. When the results of
a ListRoutes
request exceed limit
, this value can be used to retrieve the next page
of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListRoutes
request. When the
results of a ListRoutes
request exceed limit
, this value can be used to
retrieve the next page of results. This value is null
when there are no more results to
return.ListRoutesResponse.Builder routes(Collection<RouteRef> routes)
The list of existing routes for the specified service mesh and virtual router.
routes
- The list of existing routes for the specified service mesh and virtual router.ListRoutesResponse.Builder routes(RouteRef... routes)
The list of existing routes for the specified service mesh and virtual router.
routes
- The list of existing routes for the specified service mesh and virtual router.ListRoutesResponse.Builder routes(Consumer<RouteRef.Builder>... routes)
The list of existing routes for the specified service mesh and virtual router.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #routes(List)
.routes
- a consumer that will call methods on List.Builder
#routes(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.