pub struct Builder { /* private fields */ }
Expand description
A builder for CountClosedWorkflowExecutionsInput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn domain(self, input: impl Into<String>) -> Self
pub fn domain(self, input: impl Into<String>) -> Self
The name of the domain containing the workflow executions to count.
sourcepub fn set_domain(self, input: Option<String>) -> Self
pub fn set_domain(self, input: Option<String>) -> Self
The name of the domain containing the workflow executions to count.
sourcepub fn start_time_filter(self, input: ExecutionTimeFilter) -> Self
pub fn start_time_filter(self, input: ExecutionTimeFilter) -> Self
If specified, only workflow executions that meet the start time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn set_start_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
pub fn set_start_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
If specified, only workflow executions that meet the start time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn close_time_filter(self, input: ExecutionTimeFilter) -> Self
pub fn close_time_filter(self, input: ExecutionTimeFilter) -> Self
If specified, only workflow executions that meet the close time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn set_close_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
pub fn set_close_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
If specified, only workflow executions that meet the close time criteria of the filter are counted.
startTimeFilter
and closeTimeFilter
are mutually exclusive. You must specify one of these in a request but not both.
sourcepub fn execution_filter(self, input: WorkflowExecutionFilter) -> Self
pub fn execution_filter(self, input: WorkflowExecutionFilter) -> Self
If specified, only workflow executions matching the WorkflowId
in the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn set_execution_filter(self, input: Option<WorkflowExecutionFilter>) -> Self
pub fn set_execution_filter(self, input: Option<WorkflowExecutionFilter>) -> Self
If specified, only workflow executions matching the WorkflowId
in the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn type_filter(self, input: WorkflowTypeFilter) -> Self
pub fn type_filter(self, input: WorkflowTypeFilter) -> Self
If specified, indicates the type of the workflow executions to be counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn set_type_filter(self, input: Option<WorkflowTypeFilter>) -> Self
pub fn set_type_filter(self, input: Option<WorkflowTypeFilter>) -> Self
If specified, indicates the type of the workflow executions to be counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn tag_filter(self, input: TagFilter) -> Self
pub fn tag_filter(self, input: TagFilter) -> Self
If specified, only executions that have a tag that matches the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn set_tag_filter(self, input: Option<TagFilter>) -> Self
pub fn set_tag_filter(self, input: Option<TagFilter>) -> Self
If specified, only executions that have a tag that matches the filter are counted.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn close_status_filter(self, input: CloseStatusFilter) -> Self
pub fn close_status_filter(self, input: CloseStatusFilter) -> Self
If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus
is specified as CLOSED
.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn set_close_status_filter(self, input: Option<CloseStatusFilter>) -> Self
pub fn set_close_status_filter(self, input: Option<CloseStatusFilter>) -> Self
If specified, only workflow executions that match this close status are counted. This filter has an affect only if executionStatus
is specified as CLOSED
.
closeStatusFilter
, executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn build(self) -> Result<CountClosedWorkflowExecutionsInput, BuildError>
pub fn build(self) -> Result<CountClosedWorkflowExecutionsInput, BuildError>
Consumes the builder and constructs a CountClosedWorkflowExecutionsInput
.