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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListRunCachesResponse.Builderitems(Collection<RunCacheListItem> items)Details about each run cache in the response.ListRunCachesResponse.Builderitems(Consumer<RunCacheListItem.Builder>... items)Details about each run cache in the response.ListRunCachesResponse.Builderitems(RunCacheListItem... items)Details about each run cache in the response.ListRunCachesResponse.BuildernextToken(String nextToken)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 Detail
-
items
ListRunCachesResponse.Builder items(Collection<RunCacheListItem> 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
ListRunCachesResponse.Builder items(RunCacheListItem... 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
ListRunCachesResponse.Builder items(Consumer<RunCacheListItem.Builder>... 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 to#items(List.) - 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:
#items(java.util.Collection)
-
nextToken
ListRunCachesResponse.Builder nextToken(String 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.
-
-