Interface ListOpenWorkflowExecutionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<ListOpenWorkflowExecutionsRequest.Builder,
,ListOpenWorkflowExecutionsRequest> SdkBuilder<ListOpenWorkflowExecutionsRequest.Builder,
,ListOpenWorkflowExecutionsRequest> SdkPojo
,SdkRequest.Builder
,SwfRequest.Builder
- Enclosing class:
ListOpenWorkflowExecutionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the domain that contains the workflow executions to list.executionFilter
(Consumer<WorkflowExecutionFilter.Builder> executionFilter) If specified, only workflow executions matching the workflow ID specified in the filter are returned.executionFilter
(WorkflowExecutionFilter executionFilter) If specified, only workflow executions matching the workflow ID specified in the filter are returned.maximumPageSize
(Integer maximumPageSize) The maximum number of results that are returned per call.nextPageToken
(String nextPageToken) IfNextPageToken
is returned there are more results available.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.reverseOrder
(Boolean reverseOrder) When set totrue
, returns the results in reverse order.startTimeFilter
(Consumer<ExecutionTimeFilter.Builder> startTimeFilter) Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.startTimeFilter
(ExecutionTimeFilter startTimeFilter) Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.tagFilter
(Consumer<TagFilter.Builder> tagFilter) If specified, only executions that have the matching tag are listed.If specified, only executions that have the matching tag are listed.typeFilter
(Consumer<WorkflowTypeFilter.Builder> typeFilter) If specified, only executions of the type specified in the filter are returned.typeFilter
(WorkflowTypeFilter typeFilter) If specified, only executions of the type specified in the filter are returned.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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.services.swf.model.SwfRequest.Builder
build
-
Method Details
-
domain
The name of the domain that contains the workflow executions to list.
- Parameters:
domain
- The name of the domain that contains the workflow executions to list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeFilter
Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.
- Parameters:
startTimeFilter
- Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeFilter
default ListOpenWorkflowExecutionsRequest.Builder startTimeFilter(Consumer<ExecutionTimeFilter.Builder> startTimeFilter) Workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.
This is a convenience method that creates an instance of theExecutionTimeFilter.Builder
avoiding the need to create one manually viaExecutionTimeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartTimeFilter(ExecutionTimeFilter)
.- Parameters:
startTimeFilter
- a consumer that will call methods onExecutionTimeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
typeFilter
If specified, only executions of the type specified in the filter are returned.
executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.- Parameters:
typeFilter
- If specified, only executions of the type specified in the filter are returned.executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typeFilter
default ListOpenWorkflowExecutionsRequest.Builder typeFilter(Consumer<WorkflowTypeFilter.Builder> typeFilter) If specified, only executions of the type specified in the filter are returned.
executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.WorkflowTypeFilter.Builder
avoiding the need to create one manually viaWorkflowTypeFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totypeFilter(WorkflowTypeFilter)
.- Parameters:
typeFilter
- a consumer that will call methods onWorkflowTypeFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tagFilter
If specified, only executions that have the matching tag are listed.
executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.- Parameters:
tagFilter
- If specified, only executions that have the matching tag are listed.executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tagFilter
If specified, only executions that have the matching tag are listed.
executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.TagFilter.Builder
avoiding the need to create one manually viaTagFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totagFilter(TagFilter)
.- Parameters:
tagFilter
- a consumer that will call methods onTagFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextPageToken
If
NextPageToken
is returned there are more results available. The value ofNextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a400
error: "Specified token has exceeded its maximum lifetime
".The configured
maximumPageSize
determines how many results can be returned in a single call.- Parameters:
nextPageToken
- IfNextPageToken
is returned there are more results available. The value ofNextPageToken
is a unique pagination token for each page. Make the call again using the returned token to retrieve the next page. Keep all other arguments unchanged. Each pagination token expires after 24 hours. Using an expired pagination token will return a400
error: "Specified token has exceeded its maximum lifetime
".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.
-
maximumPageSize
The maximum number of results that are returned per call. Use
nextPageToken
to obtain further pages of results.- Parameters:
maximumPageSize
- The maximum number of results that are returned per call. UsenextPageToken
to obtain further pages of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reverseOrder
When set to
true
, returns the results in reverse order. By default the results are returned in descending order of the start time of the executions.- Parameters:
reverseOrder
- When set totrue
, returns the results in reverse order. By default the results are returned in descending order of the start time of the executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionFilter
If specified, only workflow executions matching the workflow ID specified in the filter are returned.
executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.- Parameters:
executionFilter
- If specified, only workflow executions matching the workflow ID specified in the filter are returned.executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionFilter
default ListOpenWorkflowExecutionsRequest.Builder executionFilter(Consumer<WorkflowExecutionFilter.Builder> executionFilter) If specified, only workflow executions matching the workflow ID specified in the filter are returned.
executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.WorkflowExecutionFilter.Builder
avoiding the need to create one manually viaWorkflowExecutionFilter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexecutionFilter(WorkflowExecutionFilter)
.- Parameters:
executionFilter
- a consumer that will call methods onWorkflowExecutionFilter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
ListOpenWorkflowExecutionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
ListOpenWorkflowExecutionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-