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
copy
Methods inherited from interface software.amazon.awssdk.services.omics.model.OmicsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaWorkflowListItem.builder()
.When the
Consumer
completes,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.
-