Interface ListRunCachesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListRunCachesResponse.Builder,
,ListRunCachesResponse> OmicsResponse.Builder
,SdkBuilder<ListRunCachesResponse.Builder,
,ListRunCachesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListRunCachesResponse
@Mutable
@NotThreadSafe
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
copy
Methods inherited from interface software.amazon.awssdk.services.omics.model.OmicsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaRunCacheListItem.builder()
.When the
Consumer
completes,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
nextToken
value, you have reached to the end of the list.- Parameters:
nextToken
- Pagination token to retrieve additional run caches. If the response does not have anextToken
value, you have reached to the end of the list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-