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 TypeMethodDescriptionThenextTokenvalue to include in a futureListRoutesrequest.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, 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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.Builderavoiding the need to create one manually viaRouteRef.builder().When the
Consumercompletes,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:
-