Interface ListVirtualRoutersResponse.Builder
- All Superinterfaces:
AppMeshResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListVirtualRoutersResponse.Builder,
,ListVirtualRoutersResponse> SdkBuilder<ListVirtualRoutersResponse.Builder,
,ListVirtualRoutersResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListVirtualRoutersResponse
public static interface ListVirtualRoutersResponse.Builder
extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListVirtualRoutersResponse.Builder,ListVirtualRoutersResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextToken
value to include in a futureListVirtualRouters
request.virtualRouters
(Collection<VirtualRouterRef> virtualRouters) The list of existing virtual routers for the specified service mesh.virtualRouters
(Consumer<VirtualRouterRef.Builder>... virtualRouters) The list of existing virtual routers for the specified service mesh.virtualRouters
(VirtualRouterRef... virtualRouters) The list of existing virtual routers for the specified service mesh.Methods inherited from interface software.amazon.awssdk.services.appmesh.model.AppMeshResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The
nextToken
value to include in a futureListVirtualRouters
request. When the results of aListVirtualRouters
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.- Parameters:
nextToken
- ThenextToken
value to include in a futureListVirtualRouters
request. When the results of aListVirtualRouters
request exceedlimit
, you can use this value to retrieve the next page of results. This value isnull
when there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualRouters
The list of existing virtual routers for the specified service mesh.
- Parameters:
virtualRouters
- The list of existing virtual routers for the specified service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualRouters
The list of existing virtual routers for the specified service mesh.
- Parameters:
virtualRouters
- The list of existing virtual routers for the specified service mesh.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualRouters
ListVirtualRoutersResponse.Builder virtualRouters(Consumer<VirtualRouterRef.Builder>... virtualRouters) The list of existing virtual routers for the specified service mesh.
This is a convenience method that creates an instance of theVirtualRouterRef.Builder
avoiding the need to create one manually viaVirtualRouterRef.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovirtualRouters(List<VirtualRouterRef>)
.- Parameters:
virtualRouters
- a consumer that will call methods onVirtualRouterRef.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-