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 TypeMethodDescriptionThenextTokenvalue to include in a futureListVirtualRoutersrequest.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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The
nextTokenvalue to include in a futureListVirtualRoutersrequest. When the results of aListVirtualRoutersrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen there are no more results to return.- Parameters:
nextToken- ThenextTokenvalue to include in a futureListVirtualRoutersrequest. When the results of aListVirtualRoutersrequest exceedlimit, you can use this value to retrieve the next page of results. This value isnullwhen 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.Builderavoiding the need to create one manually viaVirtualRouterRef.builder().When the
Consumercompletes,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:
-