Class WorkflowExecutionCount
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.WorkflowExecutionCount
-
- All Implemented Interfaces:
Serializable,Cloneable
public class WorkflowExecutionCount extends Object implements Serializable, Cloneable
Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionCount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionCountclone()booleanequals(Object obj)IntegergetCount()The number of workflow executions.BooleangetTruncated()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.inthashCode()BooleanisTruncated()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.voidsetCount(Integer count)The number of workflow executions.voidsetTruncated(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.StringtoString()Returns a string representation of this object; useful for testing and debugging.WorkflowExecutionCountwithCount(Integer count)The number of workflow executions.WorkflowExecutionCountwithTruncated(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.
-
-
-
Method Detail
-
setCount
public void setCount(Integer count)
The number of workflow executions.
- Parameters:
count- The number of workflow executions.
-
getCount
public Integer getCount()
The number of workflow executions.
- Returns:
- The number of workflow executions.
-
withCount
public WorkflowExecutionCount withCount(Integer count)
The number of workflow executions.
- Parameters:
count- The number of workflow executions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
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.
-
withTruncated
public WorkflowExecutionCount 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.
- 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:
- Returns a reference to this 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.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WorkflowExecutionCount clone()
-
-