Interface ListRunGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListRunGroupsResponse.Builder,,ListRunGroupsResponse> OmicsResponse.Builder,SdkBuilder<ListRunGroupsResponse.Builder,,ListRunGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListRunGroupsResponse
public static interface ListRunGroupsResponse.Builder
extends OmicsResponse.Builder, SdkPojo, CopyableBuilder<ListRunGroupsResponse.Builder,ListRunGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems(Collection<RunGroupListItem> items) A list of groups.items(Consumer<RunGroupListItem.Builder>... items) A list of groups.items(RunGroupListItem... items) A list of groups.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 groups.
- Parameters:
items- A list of groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of groups.
- Parameters:
items- A list of groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of groups.
This is a convenience method that creates an instance of theRunGroupListItem.Builderavoiding the need to create one manually viaRunGroupListItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toitems(List<RunGroupListItem>).- Parameters:
items- a consumer that will call methods onRunGroupListItem.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.
-