Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class CountPendingActivityTasksRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.simpleworkflow.model.CountPendingActivityTasksRequest

public class CountPendingActivityTasksRequest
extends AmazonWebServiceRequest

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.

See Also:
AmazonSimpleWorkflow.countPendingActivityTasks(CountPendingActivityTasksRequest)

Constructor Summary
CountPendingActivityTasksRequest()
           
 
Method Summary
 boolean equals(Object obj)
           
 String getDomain()
          The name of the domain that contains the task list.
 TaskList getTaskList()
          The name of the task list.
 int hashCode()
           
 void setDomain(String domain)
          The name of the domain that contains the task list.
 void setTaskList(TaskList taskList)
          The name of the task list.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 CountPendingActivityTasksRequest withDomain(String domain)
          The name of the domain that contains the task list.
 CountPendingActivityTasksRequest withTaskList(TaskList taskList)
          The name of the task list.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentials
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CountPendingActivityTasksRequest

public CountPendingActivityTasksRequest()
Method Detail

getDomain

public String getDomain()
The name of the domain that contains the task list.

Constraints:
Length: 1 - 256

Returns:
The name of the domain that contains the task list.

setDomain

public void setDomain(String domain)
The name of the domain that contains the task list.

Constraints:
Length: 1 - 256

Parameters:
domain - The name of the domain that contains the task list.

withDomain

public CountPendingActivityTasksRequest withDomain(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

Parameters:
domain - The name of the domain that contains the task list.
Returns:
A reference to this updated object so that method calls can be chained together.

getTaskList

public TaskList getTaskList()
The name of the task list.

Returns:
The name of the task list.

setTaskList

public void setTaskList(TaskList taskList)
The name of the task list.

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

Parameters:
taskList - The name of the task list.
Returns:
A reference to this updated 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

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.