public class WorkflowExecutionCount extends Object implements Serializable
Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions
Constructor and Description |
---|
WorkflowExecutionCount() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Integer |
getCount()
The number of workflow executions.
|
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 workflow executions.
|
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.
|
WorkflowExecutionCount |
withCount(Integer count)
The number of workflow executions.
|
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.
|
public Integer getCount()
Constraints:
Range: 0 -
public void setCount(Integer count)
Constraints:
Range: 0 -
count
- The number of workflow executions.public WorkflowExecutionCount withCount(Integer count)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 -
count
- The number of workflow executions.public Boolean isTruncated()
public void setTruncated(Boolean truncated)
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.public WorkflowExecutionCount withTruncated(Boolean truncated)
Returns a reference to this object so that method calls can be chained together.
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.public Boolean getTruncated()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.