Interface CountOpenWorkflowExecutionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CountOpenWorkflowExecutionsRequest.Builder,
,CountOpenWorkflowExecutionsRequest> SdkBuilder<CountOpenWorkflowExecutionsRequest.Builder,
,CountOpenWorkflowExecutionsRequest> SdkPojo
,SdkRequest.Builder
,SwfRequest.Builder
- Enclosing class:
CountOpenWorkflowExecutionsRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the domain containing the workflow executions to count.executionFilter
(Consumer<WorkflowExecutionFilter.Builder> executionFilter) If specified, only workflow executions matching theWorkflowId
in the filter are counted.executionFilter
(WorkflowExecutionFilter executionFilter) If specified, only workflow executions matching theWorkflowId
in the filter are counted.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.startTimeFilter
(Consumer<ExecutionTimeFilter.Builder> startTimeFilter) Specifies the start time criteria that workflow executions must meet in order to be counted.startTimeFilter
(ExecutionTimeFilter startTimeFilter) Specifies the start time criteria that workflow executions must meet in order to be counted.tagFilter
(Consumer<TagFilter.Builder> tagFilter) If specified, only executions that have a tag that matches the filter are counted.If specified, only executions that have a tag that matches the filter are counted.typeFilter
(Consumer<WorkflowTypeFilter.Builder> typeFilter) Specifies the type of the workflow executions to be counted.typeFilter
(WorkflowTypeFilter typeFilter) Specifies the type of the workflow executions to be counted.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 containing the workflow executions to count.
- Parameters:
domain
- The name of the domain containing the workflow executions to count.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeFilter
Specifies the start time criteria that workflow executions must meet in order to be counted.
- Parameters:
startTimeFilter
- Specifies the start time criteria that workflow executions must meet in order to be counted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startTimeFilter
default CountOpenWorkflowExecutionsRequest.Builder startTimeFilter(Consumer<ExecutionTimeFilter.Builder> startTimeFilter) Specifies the start time criteria that workflow executions must meet in order to be counted.
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
Specifies the type of the workflow executions to be counted.
executionFilter
,typeFilter
andtagFilter
are mutually exclusive. You can specify at most one of these in a request.- Parameters:
typeFilter
- Specifies the type of the workflow executions to be counted.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 CountOpenWorkflowExecutionsRequest.Builder typeFilter(Consumer<WorkflowTypeFilter.Builder> typeFilter) Specifies the type of the workflow executions to be counted.
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 a tag that matches the filter are counted.
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 a tag that matches the filter are counted.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 a tag that matches the filter are counted.
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:
-
executionFilter
If specified, only workflow executions matching the
WorkflowId
in the filter are counted.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 theWorkflowId
in the filter are counted.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 CountOpenWorkflowExecutionsRequest.Builder executionFilter(Consumer<WorkflowExecutionFilter.Builder> executionFilter) If specified, only workflow executions matching the
WorkflowId
in the filter are counted.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
CountOpenWorkflowExecutionsRequest.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
CountOpenWorkflowExecutionsRequest.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.
-