Interface ListRunsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRunsResponse.Builder,,ListRunsResponse> OmicsResponse.Builder,SdkBuilder<ListRunsResponse.Builder,,ListRunsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRunsResponse
@Mutable
@NotThreadSafe
public static interface ListRunsResponse.Builder
extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<ListRunsResponse.Builder,ListRunsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<RunListItem> items) A list of runs.items(Consumer<RunListItem.Builder>... items) A list of runs.items(RunListItem... items) A list of runs.A pagination token that's included if more results are available.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
A list of runs.
- Parameters:
items- A list of runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of runs.
- Parameters:
items- A list of runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of runs.
This is a convenience method that creates an instance of theRunListItem.Builderavoiding the need to create one manually viaRunListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<RunListItem>).- Parameters:
items- a consumer that will call methods onRunListItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A pagination token that's included if more results are available.
- Parameters:
nextToken- A pagination token that's included if more results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-