Interface ListRunsInBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRunsInBatchResponse.Builder,,ListRunsInBatchResponse> OmicsResponse.Builder,SdkBuilder<ListRunsInBatchResponse.Builder,,ListRunsInBatchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRunsInBatchResponse
@Mutable
@NotThreadSafe
public static interface ListRunsInBatchResponse.Builder
extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<ListRunsInBatchResponse.Builder,ListRunsInBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token to retrieve the next page of results.runs(Collection<RunBatchListItem> runs) A list of run entries in the batch.runs(Consumer<RunBatchListItem.Builder>... runs) A list of run entries in the batch.runs(RunBatchListItem... runs) A list of run entries in the batch.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
-
runs
A list of run entries in the batch. See
RunBatchListItem.- Parameters:
runs- A list of run entries in the batch. SeeRunBatchListItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runs
A list of run entries in the batch. See
RunBatchListItem.- Parameters:
runs- A list of run entries in the batch. SeeRunBatchListItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runs
A list of run entries in the batch. See
This is a convenience method that creates an instance of theRunBatchListItem.RunBatchListItem.Builderavoiding the need to create one manually viaRunBatchListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toruns(List<RunBatchListItem>).- Parameters:
runs- a consumer that will call methods onRunBatchListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token to retrieve the next page of results. Absent when the last run has been returned.
- Parameters:
nextToken- A pagination token to retrieve the next page of results. Absent when the last run has been returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-