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.ThenextTokenvalue to include in a futureListMeshesrequest.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
-
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.Builderavoiding the need to create one manually viaMeshRef.builder().When the
Consumercompletes,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
nextTokenvalue to include in a futureListMeshesrequest. When the results of aListMeshesrequest 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 futureListMeshesrequest. When the results of aListMeshesrequest 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.
-