Interface CountClosedWorkflowExecutionsRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CountClosedWorkflowExecutionsRequest.Builder,,CountClosedWorkflowExecutionsRequest> SdkBuilder<CountClosedWorkflowExecutionsRequest.Builder,,CountClosedWorkflowExecutionsRequest> SdkPojo,SdkRequest.Builder,SwfRequest.Builder
- Enclosing class:
CountClosedWorkflowExecutionsRequest
-
Method Summary
Modifier and TypeMethodDescriptioncloseStatusFilter(Consumer<CloseStatusFilter.Builder> closeStatusFilter) If specified, only workflow executions that match this close status are counted.closeStatusFilter(CloseStatusFilter closeStatusFilter) If specified, only workflow executions that match this close status are counted.closeTimeFilter(Consumer<ExecutionTimeFilter.Builder> closeTimeFilter) If specified, only workflow executions that meet the close time criteria of the filter are counted.closeTimeFilter(ExecutionTimeFilter closeTimeFilter) If specified, only workflow executions that meet the close time criteria of the filter are counted.The name of the domain containing the workflow executions to count.executionFilter(Consumer<WorkflowExecutionFilter.Builder> executionFilter) If specified, only workflow executions matching theWorkflowIdin the filter are counted.executionFilter(WorkflowExecutionFilter executionFilter) If specified, only workflow executions matching theWorkflowIdin 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) If specified, only workflow executions that meet the start time criteria of the filter are counted.startTimeFilter(ExecutionTimeFilter startTimeFilter) If specified, only workflow executions that meet the start time criteria of the filter are 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) If specified, indicates the type of the workflow executions to be counted.typeFilter(WorkflowTypeFilter typeFilter) If specified, indicates the type of the workflow executions to be counted.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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
If specified, only workflow executions that meet the start time criteria of the filter are counted.
startTimeFilterandcloseTimeFilterare mutually exclusive. You must specify one of these in a request but not both.- Parameters:
startTimeFilter- If specified, only workflow executions that meet the start time criteria of the filter are counted.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 CountClosedWorkflowExecutionsRequest.Builder startTimeFilter(Consumer<ExecutionTimeFilter.Builder> startTimeFilter) If specified, only workflow executions that meet the start time criteria of the filter are counted.
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:
-
closeTimeFilter
If specified, only workflow executions that meet the close time criteria of the filter are counted.
startTimeFilterandcloseTimeFilterare mutually exclusive. You must specify one of these in a request but not both.- Parameters:
closeTimeFilter- If specified, only workflow executions that meet the close time criteria of the filter are counted.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 CountClosedWorkflowExecutionsRequest.Builder closeTimeFilter(Consumer<ExecutionTimeFilter.Builder> closeTimeFilter) If specified, only workflow executions that meet the close time criteria of the filter are counted.
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:
-
executionFilter
CountClosedWorkflowExecutionsRequest.Builder executionFilter(WorkflowExecutionFilter executionFilter) If specified, only workflow executions matching the
WorkflowIdin the filter are counted.closeStatusFilter,executionFilter,typeFilterandtagFilterare mutually exclusive. You can specify at most one of these in a request.- Parameters:
executionFilter- If specified, only workflow executions matching theWorkflowIdin the filter are counted.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 CountClosedWorkflowExecutionsRequest.Builder executionFilter(Consumer<WorkflowExecutionFilter.Builder> executionFilter) If specified, only workflow executions matching the
WorkflowIdin the filter are counted. 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:
-
typeFilter
If specified, indicates the type of the workflow executions to be counted.
closeStatusFilter,executionFilter,typeFilterandtagFilterare mutually exclusive. You can specify at most one of these in a request.- Parameters:
typeFilter- If specified, indicates the type of the workflow executions to be counted.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 CountClosedWorkflowExecutionsRequest.Builder typeFilter(Consumer<WorkflowTypeFilter.Builder> typeFilter) If specified, indicates the type of the workflow executions to be counted.
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:
-
tagFilter
If specified, only executions that have a tag that matches the filter are counted.
closeStatusFilter,executionFilter,typeFilterandtagFilterare 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.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 CountClosedWorkflowExecutionsRequest.Builder tagFilter(Consumer<TagFilter.Builder> tagFilter) If specified, only executions that have a tag that matches the filter are counted.
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:
-
closeStatusFilter
If specified, only workflow executions that match this close status are counted. This filter has an affect only if
executionStatusis specified asCLOSED.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 counted. This filter has an affect only ifexecutionStatusis specified asCLOSED.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 CountClosedWorkflowExecutionsRequest.Builder closeStatusFilter(Consumer<CloseStatusFilter.Builder> closeStatusFilter) If specified, only workflow executions that match this close status are counted. This filter has an affect only if
executionStatusis specified asCLOSED. 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:
-
overrideConfiguration
CountClosedWorkflowExecutionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CountClosedWorkflowExecutionsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-