Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.simpleworkflow.model
Class PendingTaskCount

java.lang.Object
  extended by com.amazonaws.services.simpleworkflow.model.PendingTaskCount
All Implemented Interfaces:
Serializable

public class PendingTaskCount
extends Object
implements Serializable

Contains the count of tasks in a task list.

See Also:
Serialized Form

Constructor Summary
PendingTaskCount()
           
 
Method Summary
 boolean equals(Object obj)
           
 Integer getCount()
          The number of tasks in the task list.
 Boolean getTruncated()
          If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
 int hashCode()
           
 Boolean isTruncated()
          If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
 void setCount(Integer count)
          The number of tasks in the task list.
 void setTruncated(Boolean truncated)
          If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 PendingTaskCount withCount(Integer count)
          The number of tasks in the task list.
 PendingTaskCount withTruncated(Boolean truncated)
          If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PendingTaskCount

public PendingTaskCount()
Method Detail

getCount

public Integer getCount()
The number of tasks in the task list.

Constraints:
Range: 0 -

Returns:
The number of tasks in the task list.

setCount

public void setCount(Integer count)
The number of tasks in the task list.

Constraints:
Range: 0 -

Parameters:
count - The number of tasks in the task list.

withCount

public PendingTaskCount withCount(Integer count)
The number of tasks in the task list.

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

Constraints:
Range: 0 -

Parameters:
count - The number of tasks in the task list.
Returns:
A reference to this updated object so that method calls can be chained together.

isTruncated

public Boolean isTruncated()
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

Returns:
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

setTruncated

public void setTruncated(Boolean truncated)
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

Parameters:
truncated - If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

withTruncated

public PendingTaskCount withTruncated(Boolean truncated)
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

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

Parameters:
truncated - If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.
Returns:
A reference to this updated object so that method calls can be chained together.

getTruncated

public Boolean getTruncated()
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

Returns:
If set to true, indicates that the actual count was more than the maximum supported by this API and the count returned is the truncated value.

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.