Class CountOpenWorkflowExecutionsRequest

    • Constructor Detail

      • CountOpenWorkflowExecutionsRequest

        public CountOpenWorkflowExecutionsRequest()
    • Method Detail

      • setDomain

        public void setDomain​(String 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.
      • getDomain

        public String getDomain()

        The name of the domain containing the workflow executions to count.

        Returns:
        The name of the domain containing the workflow executions to count.
      • withDomain

        public CountOpenWorkflowExecutionsRequest withDomain​(String 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.
      • setStartTimeFilter

        public void setStartTimeFilter​(ExecutionTimeFilter 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.
      • getStartTimeFilter

        public ExecutionTimeFilter getStartTimeFilter()

        Specifies the start time criteria that workflow executions must meet in order to be counted.

        Returns:
        Specifies the start time criteria that workflow executions must meet in order to be counted.
      • withStartTimeFilter

        public CountOpenWorkflowExecutionsRequest withStartTimeFilter​(ExecutionTimeFilter 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.
      • setTypeFilter

        public void setTypeFilter​(WorkflowTypeFilter typeFilter)

        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.
        Parameters:
        typeFilter - 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.
      • getTypeFilter

        public WorkflowTypeFilter getTypeFilter()

        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.
        Returns:
        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.
      • withTypeFilter

        public CountOpenWorkflowExecutionsRequest withTypeFilter​(WorkflowTypeFilter typeFilter)

        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.
        Parameters:
        typeFilter - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setTagFilter

        public void setTagFilter​(TagFilter tagFilter)

        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.
        Parameters:
        tagFilter - 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.
      • getTagFilter

        public TagFilter getTagFilter()

        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.
        Returns:
        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.
      • withTagFilter

        public CountOpenWorkflowExecutionsRequest withTagFilter​(TagFilter tagFilter)

        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.
        Parameters:
        tagFilter - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setExecutionFilter

        public void setExecutionFilter​(WorkflowExecutionFilter executionFilter)

        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.
        Parameters:
        executionFilter - 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.
      • getExecutionFilter

        public WorkflowExecutionFilter getExecutionFilter()

        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.
        Returns:
        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.
      • withExecutionFilter

        public CountOpenWorkflowExecutionsRequest withExecutionFilter​(WorkflowExecutionFilter executionFilter)

        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.
        Parameters:
        executionFilter - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object