Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class CountPendingDecisionTasksRequest

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

public class CountPendingDecisionTasksRequest
extends AmazonWebServiceRequest

Container for the parameters to the CountPendingDecisionTasks operation.

Returns the estimated number of decision 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 decision task was ever scheduled in then 0 will be returned.

See Also:
AmazonSimpleWorkflow.countPendingDecisionTasks(CountPendingDecisionTasksRequest)

Constructor Summary
CountPendingDecisionTasksRequest()
           
 
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.
 CountPendingDecisionTasksRequest withDomain(String domain)
          The name of the domain that contains the task list.
 CountPendingDecisionTasksRequest 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

CountPendingDecisionTasksRequest

public CountPendingDecisionTasksRequest()
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 CountPendingDecisionTasksRequest 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 CountPendingDecisionTasksRequest 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.