com.amazonaws.services.simpleworkflow.model

## クラス CountClosedWorkflowExecutionsRequest

- java.lang.Object
- - com.amazonaws.AmazonWebServiceRequest
  - - com.amazonaws.services.simpleworkflow.model.CountClosedWorkflowExecutionsRequest

- すべての実装されたインタフェース:
    java.io.Serializable

      public class CountClosedWorkflowExecutionsRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CountClosedWorkflowExecutions operation`.

  Returns the number of closed workflow executions within the given domain that meet the specified filtering criteria.

  NOTE: This operation is eventually consistent. The results are best effort and may not exactly reflect recent updates and changes.

  Access Control

  You can use IAM policies to control this action's access to Amazon SWF resources as follows:

  - Use a `Resource` element with the domain name to limit the action to only specified domains.
  - Use an `Action` element to allow or deny permission to call this action.
  - Constrain the following parameters by using a `Condition` element with the appropriate keys.
    - `tag` : String constraint. The key is `swf:tagFilter.tag` .
    - `typeFilter.name` : String constraint. String constraint. The key is `swf:typeFilter.name` .
    - `typeFilter.version` : String constraint. String constraint. The key is `swf:typeFilter.version` .

  If the caller does not have sufficient permissions to invoke the action, or the parameter values fall outside the specified constraints, the action fails by throwing `OperationNotPermitted` . For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows .

  関連項目:
    `AmazonSimpleWorkflow.countClosedWorkflowExecutions(CountClosedWorkflowExecutionsRequest)`, 直列化された形式

- - ### コンストラクタの概要

    コンストラクタ
    コンストラクタと説明
    `CountClosedWorkflowExecutionsRequest()`

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `CloseStatusFilter` | `getCloseStatusFilter()` If specified, only workflow executions that match this close status are counted.
    `ExecutionTimeFilter` | `getCloseTimeFilter()` If specified, only workflow executions that meet the close time criteria of the filter are counted.
    `java.lang.String` | `getDomain()` The name of the domain containing the workflow executions to count.
    `WorkflowExecutionFilter` | `getExecutionFilter()` If specified, only workflow executions matching the `WorkflowId` in the filter are counted.
    `ExecutionTimeFilter` | `getStartTimeFilter()` If specified, only workflow executions that meet the start time criteria of the filter are counted.
    `TagFilter` | `getTagFilter()` If specified, only executions that have a tag that matches the filter are counted.
    `WorkflowTypeFilter` | `getTypeFilter()` If specified, indicates the type of the workflow executions to be counted.
    `int` | `hashCode()`
    `void` | `setCloseStatusFilter(CloseStatusFilter closeStatusFilter)` If specified, only workflow executions that match this close status are counted.
    `void` | `setCloseTimeFilter(ExecutionTimeFilter closeTimeFilter)` If specified, only workflow executions that meet the close time criteria of the filter are counted.
    `void` | `setDomain(java.lang.String domain)` The name of the domain containing the workflow executions to count.
    `void` | `setExecutionFilter(WorkflowExecutionFilter executionFilter)` If specified, only workflow executions matching the `WorkflowId` in the filter are counted.
    `void` | `setStartTimeFilter(ExecutionTimeFilter startTimeFilter)` If specified, only workflow executions that meet the start time criteria of the filter are counted.
    `void` | `setTagFilter(TagFilter tagFilter)` If specified, only executions that have a tag that matches the filter are counted.
    `void` | `setTypeFilter(WorkflowTypeFilter typeFilter)` If specified, indicates the type of the workflow executions to be counted.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CountClosedWorkflowExecutionsRequest` | `withCloseStatusFilter(CloseStatusFilter closeStatusFilter)` If specified, only workflow executions that match this close status are counted.
    `CountClosedWorkflowExecutionsRequest` | `withCloseTimeFilter(ExecutionTimeFilter closeTimeFilter)` If specified, only workflow executions that meet the close time criteria of the filter are counted.
    `CountClosedWorkflowExecutionsRequest` | `withDomain(java.lang.String domain)` The name of the domain containing the workflow executions to count.
    `CountClosedWorkflowExecutionsRequest` | `withExecutionFilter(WorkflowExecutionFilter executionFilter)` If specified, only workflow executions matching the `WorkflowId` in the filter are counted.
    `CountClosedWorkflowExecutionsRequest` | `withStartTimeFilter(ExecutionTimeFilter startTimeFilter)` If specified, only workflow executions that meet the start time criteria of the filter are counted.
    `CountClosedWorkflowExecutionsRequest` | `withTagFilter(TagFilter tagFilter)` If specified, only executions that have a tag that matches the filter are counted.
    `CountClosedWorkflowExecutionsRequest` | `withTypeFilter(WorkflowTypeFilter typeFilter)` If specified, indicates the type of the workflow executions to be counted.

    - ### クラスから継承されたメソッド com.amazonaws.AmazonWebServiceRequest

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

    - ### クラスから継承されたメソッド java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### コンストラクタの詳細

    - #### CountClosedWorkflowExecutionsRequest

          public CountClosedWorkflowExecutionsRequest()

  - ### メソッドの詳細

    - #### getDomain

          public java.lang.String getDomain()

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

      Constraints:
      Length: 1 - 256

      戻り値:
        The name of the domain containing the workflow executions to count.

    - #### setDomain

          public void setDomain(java.lang.String domain)

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

      Constraints:
      Length: 1 - 256

      パラメータ:
        `domain` - The name of the domain containing the workflow executions to count.

    - #### withDomain

          public CountClosedWorkflowExecutionsRequest withDomain(java.lang.String domain)

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

      Returns a reference to this object so that method calls can be chained together.

      Constraints:
      Length: 1 - 256

      パラメータ:
        `domain` - The name of the domain containing the workflow executions to count.

    - #### 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.
      戻り値:
        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.

    - #### 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.
      パラメータ:
        `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.

    - #### 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.

      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. `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.
      戻り値:
        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.

    - #### 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.
      パラメータ:
        `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.

    - #### 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.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `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.

    - #### 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.
      戻り値:
        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.

    - #### 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.
      パラメータ:
        `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.

    - #### 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.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `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.

    - #### 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.
      戻り値:
        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.

    - #### 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.
      パラメータ:
        `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.

    - #### 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.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `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.

    - #### 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.
      戻り値:
        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.

    - #### 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.
      パラメータ:
        `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.

    - #### 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.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `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.

    - #### 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.
      戻り値:
        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.

    - #### 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.
      パラメータ:
        `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.

    - #### 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.

      Returns a reference to this object so that method calls can be chained together.

      パラメータ:
        `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.

    - #### toString

          public java.lang.String toString()

      Returns a string representation of this object; useful for testing and debugging.
      オーバーライド:
        `toString` クラス内 `java.lang.Object`
      戻り値:
        A string representation of this object.
      関連項目:
        `Object.toString()`

    - #### hashCode

          public int hashCode()

      オーバーライド:
        `hashCode` クラス内 `java.lang.Object`

    - #### equals

          public boolean equals(java.lang.Object obj)

      オーバーライド:
        `equals` クラス内 `java.lang.Object`