com.amazonaws.services.simpleworkflow.model

## クラス CountPendingActivityTasksRequest

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

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

      public class CountPendingActivityTasksRequest
      extends AmazonWebServiceRequest
      implements java.io.Serializable

  Container for the parameters to the `CountPendingActivityTasks operation`.

  Returns the estimated number of activity tasks in the specified task list. The count returned is an approximation and is not guaranteed to be exact. If you specify a task list that no activity task was ever scheduled in then 0 will be returned.

  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.
  - Use a Condition element with the `swf:taskList.name` key to allow the action to access only certain task lists.

  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.countPendingActivityTasks(CountPendingActivityTasksRequest)`, 直列化された形式

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

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

  - ### メソッドの概要

    メソッド
    修飾子とタイプ | メソッドと説明
    --- | ---
    `boolean` | `equals(java.lang.Object obj)`
    `java.lang.String` | `getDomain()` The name of the domain that contains the task list.
    `TaskList` | `getTaskList()` The name of the task list.
    `int` | `hashCode()`
    `void` | `setDomain(java.lang.String domain)` The name of the domain that contains the task list.
    `void` | `setTaskList(TaskList taskList)` The name of the task list.
    `java.lang.String` | `toString()` Returns a string representation of this object; useful for testing and debugging.
    `CountPendingActivityTasksRequest` | `withDomain(java.lang.String domain)` The name of the domain that contains the task list.
    `CountPendingActivityTasksRequest` | `withTaskList(TaskList taskList)` The name of the task list.

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

      `copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials`

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

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

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

    - #### CountPendingActivityTasksRequest

          public CountPendingActivityTasksRequest()

  - ### メソッドの詳細

    - #### getDomain

          public java.lang.String getDomain()

      The name of the domain that contains the task list.

      Constraints:
      Length: 1 - 256

      戻り値:
        The name of the domain that contains the task list.

    - #### setDomain

          public void setDomain(java.lang.String domain)

      The name of the domain that contains the task list.

      Constraints:
      Length: 1 - 256

      パラメータ:
        `domain` - The name of the domain that contains the task list.

    - #### withDomain

          public CountPendingActivityTasksRequest withDomain(java.lang.String domain)

      The name of the domain that contains the task list.

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

      Constraints:
      Length: 1 - 256

      パラメータ:
        `domain` - The name of the domain that contains the task list.

    - #### getTaskList

          public TaskList getTaskList()

      The name of the task list.
      戻り値:
        The name of the task list.

    - #### setTaskList

          public void setTaskList(TaskList taskList)

      The name of the task list.
      パラメータ:
        `taskList` - The name of the task list.

    - #### withTaskList

          public CountPendingActivityTasksRequest withTaskList(TaskList taskList)

      The name of the task list.

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

      パラメータ:
        `taskList` - The name of the task list.

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