Interface ListClosedWorkflowExecutionsRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<ListClosedWorkflowExecutionsRequest.Builder,ListClosedWorkflowExecutionsRequest>,SdkBuilder<ListClosedWorkflowExecutionsRequest.Builder,ListClosedWorkflowExecutionsRequest>,SdkPojo,SdkRequest.Builder,SwfRequest.Builder
- Enclosing class:
- ListClosedWorkflowExecutionsRequest
public static interface ListClosedWorkflowExecutionsRequest.Builder extends SwfRequest.Builder, SdkPojo, CopyableBuilder<ListClosedWorkflowExecutionsRequest.Builder,ListClosedWorkflowExecutionsRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ListClosedWorkflowExecutionsRequest.BuildercloseStatusFilter(Consumer<CloseStatusFilter.Builder> closeStatusFilter)If specified, only workflow executions that match this close status are listed.ListClosedWorkflowExecutionsRequest.BuildercloseStatusFilter(CloseStatusFilter closeStatusFilter)If specified, only workflow executions that match this close status are listed.default ListClosedWorkflowExecutionsRequest.BuildercloseTimeFilter(Consumer<ExecutionTimeFilter.Builder> closeTimeFilter)If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter.ListClosedWorkflowExecutionsRequest.BuildercloseTimeFilter(ExecutionTimeFilter closeTimeFilter)If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter.ListClosedWorkflowExecutionsRequest.Builderdomain(String domain)The name of the domain that contains the workflow executions to list.default ListClosedWorkflowExecutionsRequest.BuilderexecutionFilter(Consumer<WorkflowExecutionFilter.Builder> executionFilter)If specified, only workflow executions matching the workflow ID specified in the filter are returned.ListClosedWorkflowExecutionsRequest.BuilderexecutionFilter(WorkflowExecutionFilter executionFilter)If specified, only workflow executions matching the workflow ID specified in the filter are returned.ListClosedWorkflowExecutionsRequest.BuildermaximumPageSize(Integer maximumPageSize)The maximum number of results that are returned per call.ListClosedWorkflowExecutionsRequest.BuildernextPageToken(String nextPageToken)IfNextPageTokenis returned there are more results available.ListClosedWorkflowExecutionsRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)ListClosedWorkflowExecutionsRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)ListClosedWorkflowExecutionsRequest.BuilderreverseOrder(Boolean reverseOrder)When set totrue, returns the results in reverse order.default ListClosedWorkflowExecutionsRequest.BuilderstartTimeFilter(Consumer<ExecutionTimeFilter.Builder> startTimeFilter)If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.ListClosedWorkflowExecutionsRequest.BuilderstartTimeFilter(ExecutionTimeFilter startTimeFilter)If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter.default ListClosedWorkflowExecutionsRequest.BuildertagFilter(Consumer<TagFilter.Builder> tagFilter)If specified, only executions that have the matching tag are listed.ListClosedWorkflowExecutionsRequest.BuildertagFilter(TagFilter tagFilter)If specified, only executions that have the matching tag are listed.default ListClosedWorkflowExecutionsRequest.BuildertypeFilter(Consumer<WorkflowTypeFilter.Builder> typeFilter)If specified, only executions of the type specified in the filter are returned.ListClosedWorkflowExecutionsRequest.BuildertypeFilter(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.swf.model.SwfRequest.Builder
build
-
-
-
-
Method Detail
-
domain
ListClosedWorkflowExecutionsRequest.Builder domain(String 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
ListClosedWorkflowExecutionsRequest.Builder startTimeFilter(ExecutionTimeFilter startTimeFilter)
If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times.
startTimeFilterandcloseTimeFilterare mutually exclusive. You must specify one of these in a request but not both.- Parameters:
startTimeFilter- If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times.startTimeFilterandcloseTimeFilterare mutually exclusive. You must specify one of these in a request but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeFilter
default ListClosedWorkflowExecutionsRequest.Builder startTimeFilter(Consumer<ExecutionTimeFilter.Builder> startTimeFilter)
If specified, the workflow executions are included in the returned results based on whether their start times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their start times.
This is a convenience method that creates an instance of thestartTimeFilterandcloseTimeFilterare mutually exclusive. You must specify one of these in a request but not both.ExecutionTimeFilter.Builderavoiding the need to create one manually viaExecutionTimeFilter.builder().When the
Consumercompletes,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:
startTimeFilter(ExecutionTimeFilter)
-
closeTimeFilter
ListClosedWorkflowExecutionsRequest.Builder closeTimeFilter(ExecutionTimeFilter closeTimeFilter)
If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times.
startTimeFilterandcloseTimeFilterare mutually exclusive. You must specify one of these in a request but not both.- Parameters:
closeTimeFilter- If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times.startTimeFilterandcloseTimeFilterare mutually exclusive. You must specify one of these in a request but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
closeTimeFilter
default ListClosedWorkflowExecutionsRequest.Builder closeTimeFilter(Consumer<ExecutionTimeFilter.Builder> closeTimeFilter)
If specified, the workflow executions are included in the returned results based on whether their close times are within the range specified by this filter. Also, if this parameter is specified, the returned results are ordered by their close times.
This is a convenience method that creates an instance of thestartTimeFilterandcloseTimeFilterare mutually exclusive. You must specify one of these in a request but not both.ExecutionTimeFilter.Builderavoiding the need to create one manually viaExecutionTimeFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloseTimeFilter(ExecutionTimeFilter).- Parameters:
closeTimeFilter- 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:
closeTimeFilter(ExecutionTimeFilter)
-
executionFilter
ListClosedWorkflowExecutionsRequest.Builder executionFilter(WorkflowExecutionFilter executionFilter)
If specified, only workflow executions matching the workflow ID specified in the filter are returned.
closeStatusFilter,executionFilter,typeFilterandtagFilterare 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.closeStatusFilter,executionFilter,typeFilterandtagFilterare 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 ListClosedWorkflowExecutionsRequest.Builder executionFilter(Consumer<WorkflowExecutionFilter.Builder> executionFilter)
If specified, only workflow executions matching the workflow ID specified in the filter are returned.
This is a convenience method that creates an instance of thecloseStatusFilter,executionFilter,typeFilterandtagFilterare mutually exclusive. You can specify at most one of these in a request.WorkflowExecutionFilter.Builderavoiding the need to create one manually viaWorkflowExecutionFilter.builder().When the
Consumercompletes,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:
executionFilter(WorkflowExecutionFilter)
-
closeStatusFilter
ListClosedWorkflowExecutionsRequest.Builder closeStatusFilter(CloseStatusFilter closeStatusFilter)
If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed.
closeStatusFilter,executionFilter,typeFilterandtagFilterare mutually exclusive. You can specify at most one of these in a request.- Parameters:
closeStatusFilter- If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed.closeStatusFilter,executionFilter,typeFilterandtagFilterare 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.
-
closeStatusFilter
default ListClosedWorkflowExecutionsRequest.Builder closeStatusFilter(Consumer<CloseStatusFilter.Builder> closeStatusFilter)
If specified, only workflow executions that match this close status are listed. For example, if TERMINATED is specified, then only TERMINATED workflow executions are listed.
This is a convenience method that creates an instance of thecloseStatusFilter,executionFilter,typeFilterandtagFilterare mutually exclusive. You can specify at most one of these in a request.CloseStatusFilter.Builderavoiding the need to create one manually viaCloseStatusFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocloseStatusFilter(CloseStatusFilter).- Parameters:
closeStatusFilter- a consumer that will call methods onCloseStatusFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
closeStatusFilter(CloseStatusFilter)
-
typeFilter
ListClosedWorkflowExecutionsRequest.Builder typeFilter(WorkflowTypeFilter typeFilter)
If specified, only executions of the type specified in the filter are returned.
closeStatusFilter,executionFilter,typeFilterandtagFilterare 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.closeStatusFilter,executionFilter,typeFilterandtagFilterare 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 ListClosedWorkflowExecutionsRequest.Builder typeFilter(Consumer<WorkflowTypeFilter.Builder> typeFilter)
If specified, only executions of the type specified in the filter are returned.
This is a convenience method that creates an instance of thecloseStatusFilter,executionFilter,typeFilterandtagFilterare mutually exclusive. You can specify at most one of these in a request.WorkflowTypeFilter.Builderavoiding the need to create one manually viaWorkflowTypeFilter.builder().When the
Consumercompletes,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:
typeFilter(WorkflowTypeFilter)
-
tagFilter
ListClosedWorkflowExecutionsRequest.Builder tagFilter(TagFilter tagFilter)
If specified, only executions that have the matching tag are listed.
closeStatusFilter,executionFilter,typeFilterandtagFilterare 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.closeStatusFilter,executionFilter,typeFilterandtagFilterare 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
default ListClosedWorkflowExecutionsRequest.Builder tagFilter(Consumer<TagFilter.Builder> tagFilter)
If specified, only executions that have the matching tag are listed.
This is a convenience method that creates an instance of thecloseStatusFilter,executionFilter,typeFilterandtagFilterare mutually exclusive. You can specify at most one of these in a request.TagFilter.Builderavoiding the need to create one manually viaTagFilter.builder().When the
Consumercompletes,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:
tagFilter(TagFilter)
-
nextPageToken
ListClosedWorkflowExecutionsRequest.Builder nextPageToken(String nextPageToken)
If
NextPageTokenis returned there are more results available. The value ofNextPageTokenis 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 a400error: "Specified token has exceeded its maximum lifetime".The configured
maximumPageSizedetermines how many results can be returned in a single call.- Parameters:
nextPageToken- IfNextPageTokenis returned there are more results available. The value ofNextPageTokenis 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 a400error: "Specified token has exceeded its maximum lifetime".The configured
maximumPageSizedetermines 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
ListClosedWorkflowExecutionsRequest.Builder maximumPageSize(Integer maximumPageSize)
The maximum number of results that are returned per call. Use
nextPageTokento obtain further pages of results.- Parameters:
maximumPageSize- The maximum number of results that are returned per call. UsenextPageTokento obtain further pages of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
reverseOrder
ListClosedWorkflowExecutionsRequest.Builder reverseOrder(Boolean reverseOrder)
When set to
true, returns the results in reverse order. By default the results are returned in descending order of the start or the close 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 or the close time of the executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
ListClosedWorkflowExecutionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
ListClosedWorkflowExecutionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-