Interface ListClosedWorkflowExecutionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListClosedWorkflowExecutionsResponse.Builder,
,ListClosedWorkflowExecutionsResponse> SdkBuilder<ListClosedWorkflowExecutionsResponse.Builder,
,ListClosedWorkflowExecutionsResponse> SdkPojo
,SdkResponse.Builder
,SwfResponse.Builder
- Enclosing class:
ListClosedWorkflowExecutionsResponse
public static interface ListClosedWorkflowExecutionsResponse.Builder
extends SwfResponse.Builder, SdkPojo, CopyableBuilder<ListClosedWorkflowExecutionsResponse.Builder,ListClosedWorkflowExecutionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionexecutionInfos
(Collection<WorkflowExecutionInfo> executionInfos) The list of workflow information structures.executionInfos
(Consumer<WorkflowExecutionInfo.Builder>... executionInfos) The list of workflow information structures.executionInfos
(WorkflowExecutionInfo... executionInfos) The list of workflow information structures.nextPageToken
(String nextPageToken) If aNextPageToken
was returned by a previous call, there are more results available.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.swf.model.SwfResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
executionInfos
ListClosedWorkflowExecutionsResponse.Builder executionInfos(Collection<WorkflowExecutionInfo> executionInfos) The list of workflow information structures.
- Parameters:
executionInfos
- The list of workflow information structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionInfos
ListClosedWorkflowExecutionsResponse.Builder executionInfos(WorkflowExecutionInfo... executionInfos) The list of workflow information structures.
- Parameters:
executionInfos
- The list of workflow information structures.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionInfos
ListClosedWorkflowExecutionsResponse.Builder executionInfos(Consumer<WorkflowExecutionInfo.Builder>... executionInfos) The list of workflow information structures.
This is a convenience method that creates an instance of theWorkflowExecutionInfo.Builder
avoiding the need to create one manually viaWorkflowExecutionInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionInfos(List<WorkflowExecutionInfo>)
.- Parameters:
executionInfos
- a consumer that will call methods onWorkflowExecutionInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
If a
NextPageToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken
. Keep all other arguments unchanged.The configured
maximumPageSize
determines how many results can be returned in a single call.- Parameters:
nextPageToken
- If aNextPageToken
was returned by a previous call, there are more results available. To retrieve the next page of results, make the call again using the returned token innextPageToken
. Keep all other arguments unchanged.The configured
maximumPageSize
determines how many results can be returned in a single call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-