pub struct Builder { /* private fields */ }
Expand description
A builder for CountOpenWorkflowExecutionsInput
.
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
Specifies the start time criteria that workflow executions must meet in order to be counted.
sourcepub fn set_start_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
pub fn set_start_time_filter(self, input: Option<ExecutionTimeFilter>) -> Self
Specifies the start time criteria that workflow executions must meet in order to be counted.
sourcepub fn type_filter(self, input: WorkflowTypeFilter) -> Self
pub fn type_filter(self, input: WorkflowTypeFilter) -> Self
Specifies the type of the workflow executions to be counted.
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
Specifies the type of the workflow executions to be counted.
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.
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.
executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
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.
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.
executionFilter
, typeFilter
and tagFilter
are mutually exclusive. You can specify at most one of these in a request.
sourcepub fn build(self) -> Result<CountOpenWorkflowExecutionsInput, BuildError>
pub fn build(self) -> Result<CountOpenWorkflowExecutionsInput, BuildError>
Consumes the builder and constructs a CountOpenWorkflowExecutionsInput
.