Interface GetWorkflowRunsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetWorkflowRunsResponse.Builder,
,GetWorkflowRunsResponse> GlueResponse.Builder
,SdkBuilder<GetWorkflowRunsResponse.Builder,
,GetWorkflowRunsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetWorkflowRunsResponse
@Mutable
@NotThreadSafe
public static interface GetWorkflowRunsResponse.Builder
extends GlueResponse.Builder, SdkPojo, CopyableBuilder<GetWorkflowRunsResponse.Builder,GetWorkflowRunsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionA continuation token, if not all requested workflow runs have been returned.runs
(Collection<WorkflowRun> runs) A list of workflow run metadata objects.runs
(Consumer<WorkflowRun.Builder>... runs) A list of workflow run metadata objects.runs
(WorkflowRun... runs) A list of workflow run metadata objects.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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
-
runs
A list of workflow run metadata objects.
- Parameters:
runs
- A list of workflow run metadata objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runs
A list of workflow run metadata objects.
- Parameters:
runs
- A list of workflow run metadata objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runs
A list of workflow run metadata objects.
This is a convenience method that creates an instance of theWorkflowRun.Builder
avoiding the need to create one manually viaWorkflowRun.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruns(List<WorkflowRun>)
.- Parameters:
runs
- a consumer that will call methods onWorkflowRun.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A continuation token, if not all requested workflow runs have been returned.
- Parameters:
nextToken
- A continuation token, if not all requested workflow runs have been returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-