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