Interface ListBatchResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListBatchResponse.Builder,,ListBatchResponse> OmicsResponse.Builder,SdkBuilder<ListBatchResponse.Builder,,ListBatchResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListBatchResponse
@Mutable
@NotThreadSafe
public static interface ListBatchResponse.Builder
extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<ListBatchResponse.Builder,ListBatchResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<BatchListItem> items) A list of batch summary objects.items(Consumer<BatchListItem.Builder>... items) A list of batch summary objects.items(BatchListItem... items) A list of batch summary objects.A pagination token to retrieve the next page of results.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 batch summary objects. See
BatchListItem.- Parameters:
items- A list of batch summary objects. SeeBatchListItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of batch summary objects. See
BatchListItem.- Parameters:
items- A list of batch summary objects. SeeBatchListItem.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of batch summary objects. See
This is a convenience method that creates an instance of theBatchListItem.BatchListItem.Builderavoiding the need to create one manually viaBatchListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<BatchListItem>).- Parameters:
items- a consumer that will call methods onBatchListItem.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 no further results are available.
- Parameters:
nextToken- A pagination token to retrieve the next page of results. Absent when no further results are available.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-