Interface ListMeshesResponse.Builder
- All Superinterfaces:
AppMeshResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<ListMeshesResponse.Builder,
,ListMeshesResponse> SdkBuilder<ListMeshesResponse.Builder,
,ListMeshesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListMeshesResponse
public static interface ListMeshesResponse.Builder
extends AppMeshResponse.Builder, SdkPojo, CopyableBuilder<ListMeshesResponse.Builder,ListMeshesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionmeshes
(Collection<MeshRef> meshes) The list of existing service meshes.meshes
(Consumer<MeshRef.Builder>... meshes) The list of existing service meshes.The list of existing service meshes.ThenextToken
value to include in a futureListMeshes
request.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
-
meshes
The list of existing service meshes.
- Parameters:
meshes
- The list of existing service meshes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meshes
The list of existing service meshes.
- Parameters:
meshes
- The list of existing service meshes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
meshes
The list of existing service meshes.
This is a convenience method that creates an instance of theMeshRef.Builder
avoiding the need to create one manually viaMeshRef.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomeshes(List<MeshRef>)
.- Parameters:
meshes
- a consumer that will call methods onMeshRef.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The
nextToken
value to include in a futureListMeshes
request. When the results of aListMeshes
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 futureListMeshes
request. When the results of aListMeshes
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.
-