Interface ListRunCachesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRunCachesResponse.Builder,,ListRunCachesResponse> OmicsResponse.Builder,SdkBuilder<ListRunCachesResponse.Builder,,ListRunCachesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRunCachesResponse
public static interface ListRunCachesResponse.Builder
extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<ListRunCachesResponse.Builder,ListRunCachesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<RunCacheListItem> items) Details about each run cache in the response.items(Consumer<RunCacheListItem.Builder>... items) Details about each run cache in the response.items(RunCacheListItem... items) Details about each run cache in the response.Pagination token to retrieve additional run caches.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.omics.model.OmicsResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
items
Details about each run cache in the response.
- Parameters:
items- Details about each run cache in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Details about each run cache in the response.
- Parameters:
items- Details about each run cache in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
Details about each run cache in the response.
This is a convenience method that creates an instance of theRunCacheListItem.Builderavoiding the need to create one manually viaRunCacheListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<RunCacheListItem>).- Parameters:
items- a consumer that will call methods onRunCacheListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Pagination token to retrieve additional run caches. If the response does not have a
nextTokenvalue, you have reached to the end of the list.- Parameters:
nextToken- Pagination token to retrieve additional run caches. If the response does not have anextTokenvalue, you have reached to the end of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-