Class CountClosedWorkflowExecutionsRequest

    • Constructor Detail

      • CountClosedWorkflowExecutionsRequest

        public CountClosedWorkflowExecutionsRequest()
    • 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 CountClosedWorkflowExecutionsRequest 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)

        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.
        Parameters:
        startTimeFilter - 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.
      • getStartTimeFilter

        public ExecutionTimeFilter getStartTimeFilter()

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

        public CountClosedWorkflowExecutionsRequest withStartTimeFilter​(ExecutionTimeFilter startTimeFilter)

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

        public void setCloseTimeFilter​(ExecutionTimeFilter closeTimeFilter)

        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.
        Parameters:
        closeTimeFilter - 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.
      • getCloseTimeFilter

        public ExecutionTimeFilter getCloseTimeFilter()

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

        public CountClosedWorkflowExecutionsRequest withCloseTimeFilter​(ExecutionTimeFilter closeTimeFilter)

        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.
        Parameters:
        closeTimeFilter - 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.
        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.

        closeStatusFilter, 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.

        closeStatusFilter, 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.

        closeStatusFilter, 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.

        closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.
      • withExecutionFilter

        public CountClosedWorkflowExecutionsRequest withExecutionFilter​(WorkflowExecutionFilter executionFilter)

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

        public void setTypeFilter​(WorkflowTypeFilter typeFilter)

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

        public WorkflowTypeFilter getTypeFilter()

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

        public CountClosedWorkflowExecutionsRequest withTypeFilter​(WorkflowTypeFilter typeFilter)

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

        closeStatusFilter, 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.

        closeStatusFilter, 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.

        closeStatusFilter, 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.

        closeStatusFilter, executionFilter, typeFilter and tagFilter are mutually exclusive. You can specify at most one of these in a request.
      • withTagFilter

        public CountClosedWorkflowExecutionsRequest withTagFilter​(TagFilter tagFilter)

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

        public void setCloseStatusFilter​(CloseStatusFilter closeStatusFilter)

        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.
        Parameters:
        closeStatusFilter - 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.
      • getCloseStatusFilter

        public CloseStatusFilter getCloseStatusFilter()

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

        public CountClosedWorkflowExecutionsRequest withCloseStatusFilter​(CloseStatusFilter closeStatusFilter)

        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.
        Parameters:
        closeStatusFilter - 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.
        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