Interface ListWorkflowRunsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListWorkflowRunsResponse.Builder,,ListWorkflowRunsResponse> MwaaServerlessResponse.Builder,SdkBuilder<ListWorkflowRunsResponse.Builder,,ListWorkflowRunsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListWorkflowRunsResponse
@Mutable
@NotThreadSafe
public static interface ListWorkflowRunsResponse.Builder
extends MwaaServerlessResponse.Builder, SdkPojo, CopyableBuilder<ListWorkflowRunsResponse.Builder,ListWorkflowRunsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token you need to use to retrieve the next set of results.workflowRuns(Collection<WorkflowRunSummary> workflowRuns) A list of workflow run summaries for the specified workflow.workflowRuns(Consumer<WorkflowRunSummary.Builder>... workflowRuns) A list of workflow run summaries for the specified workflow.workflowRuns(WorkflowRunSummary... workflowRuns) A list of workflow run summaries for the specified workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mwaaserverless.model.MwaaServerlessResponse.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
-
workflowRuns
A list of workflow run summaries for the specified workflow.
- Parameters:
workflowRuns- A list of workflow run summaries for the specified workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowRuns
A list of workflow run summaries for the specified workflow.
- Parameters:
workflowRuns- A list of workflow run summaries for the specified workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowRuns
A list of workflow run summaries for the specified workflow.
This is a convenience method that creates an instance of theWorkflowRunSummary.Builderavoiding the need to create one manually viaWorkflowRunSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toworkflowRuns(List<WorkflowRunSummary>).- Parameters:
workflowRuns- a consumer that will call methods onWorkflowRunSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token you need to use to retrieve the next set of results. This value is null if there are no more results.
- Parameters:
nextToken- The pagination token you need to use to retrieve the next set of results. This value is null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-