Interface ListRoutesResponse.Builder
- All Superinterfaces:
AppMeshResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListRoutesResponse.Builder,
,ListRoutesResponse> SdkBuilder<ListRoutesResponse.Builder,
,ListRoutesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRoutesResponse
@Mutable
@NotThreadSafe
public static interface ListRoutesResponse.Builder
extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListRoutesResponse.Builder,ListRoutesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThenextToken
value to include in a futureListRoutes
request.routes
(Collection<RouteRef> routes) The list of existing routes for the specified service mesh and virtual router.routes
(Consumer<RouteRef.Builder>... routes) The list of existing routes for the specified service mesh and virtual router.The list of existing routes for the specified service mesh and virtual router.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
nextToken
The
nextToken
value to include in a futureListRoutes
request. When the results of aListRoutes
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 futureListRoutes
request. When the results of aListRoutes
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.
-
routes
The list of existing routes for the specified service mesh and virtual router.
- Parameters:
routes
- The list of existing routes for the specified service mesh and virtual router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
routes
The list of existing routes for the specified service mesh and virtual router.
- Parameters:
routes
- The list of existing routes for the specified service mesh and virtual router.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaRouteRef.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toroutes(List<RouteRef>)
.- Parameters:
routes
- a consumer that will call methods onRouteRef.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-