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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildListRoutesResponse.Builder nextToken(String nextToken)
The nextToken value to include in a future ListRoutes request. When the results of
a ListRoutes request exceed limit, you can use this value 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, you can use this value 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 method that creates an instance of theRouteRef.Builder avoiding the need to create one
manually via RouteRef.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #routes(List.
routes - a consumer that will call methods on
RouteRef.Builder#routes(java.util.Collection) Copyright © 2023. All rights reserved.