Interface ListRoutesResponse.Builder
-
- All Superinterfaces:
AppMeshResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<ListRoutesResponse.Builder,ListRoutesResponse>,SdkBuilder<ListRoutesResponse.Builder,ListRoutesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListRoutesResponse
public static interface ListRoutesResponse.Builder extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListRoutesResponse.Builder,ListRoutesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRoutesResponse.BuildernextToken(String nextToken)ThenextTokenvalue to include in a futureListRoutesrequest.ListRoutesResponse.Builderroutes(Collection<RouteRef> routes)The list of existing routes for the specified service mesh and virtual router.ListRoutesResponse.Builderroutes(Consumer<RouteRef.Builder>... routes)The list of existing routes for the specified service mesh and virtual router.ListRoutesResponse.Builderroutes(RouteRef... routes)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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
nextToken
ListRoutesResponse.Builder nextToken(String nextToken)
The
nextTokenvalue to include in a futureListRoutesrequest. When the results of aListRoutesrequest 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 futureListRoutesrequest. When the results of aListRoutesrequest 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.
-
routes
ListRoutesResponse.Builder routes(Collection<RouteRef> 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
ListRoutesResponse.Builder routes(RouteRef... 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
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.Builderavoiding the need to create one manually viaRouteRef.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#routes(List.) - 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:
#routes(java.util.Collection)
-
-