public static interface ListVirtualRoutersResponse.Builder extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListVirtualRoutersResponse.Builder,ListVirtualRoutersResponse>
Modifier and Type | Method and Description |
---|---|
ListVirtualRoutersResponse.Builder |
nextToken(String nextToken)
The
nextToken value to include in a future ListVirtualRouters request. |
ListVirtualRoutersResponse.Builder |
virtualRouters(Collection<VirtualRouterRef> virtualRouters)
The list of existing virtual routers for the specified service mesh.
|
ListVirtualRoutersResponse.Builder |
virtualRouters(Consumer<VirtualRouterRef.Builder>... virtualRouters)
The list of existing virtual routers for the specified service mesh.
|
ListVirtualRoutersResponse.Builder |
virtualRouters(VirtualRouterRef... virtualRouters)
The list of existing virtual routers for the specified service mesh.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
ListVirtualRoutersResponse.Builder nextToken(String nextToken)
The nextToken
value to include in a future ListVirtualRouters
request. When the
results of a ListVirtualRouters
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 ListVirtualRouters
request. When
the results of a ListVirtualRouters
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.ListVirtualRoutersResponse.Builder virtualRouters(Collection<VirtualRouterRef> virtualRouters)
The list of existing virtual routers for the specified service mesh.
virtualRouters
- The list of existing virtual routers for the specified service mesh.ListVirtualRoutersResponse.Builder virtualRouters(VirtualRouterRef... virtualRouters)
The list of existing virtual routers for the specified service mesh.
virtualRouters
- The list of existing virtual routers for the specified service mesh.ListVirtualRoutersResponse.Builder virtualRouters(Consumer<VirtualRouterRef.Builder>... virtualRouters)
The list of existing virtual routers for the specified service mesh.
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 #virtualRouters(List)
.virtualRouters
- a consumer that will call methods on List.Builder
#virtualRouters(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.