public class WorkflowExecutionCount
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the count of workflow executions returned from CountOpenWorkflowExecutions or CountClosedWorkflowExecutions
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
count
The number of workflow executions.
|
private java.lang.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.
|
Constructor and Description |
---|
WorkflowExecutionCount() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionCount |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getCount()
The number of workflow executions.
|
java.lang.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() |
java.lang.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(java.lang.Integer count)
The number of workflow executions.
|
void |
setTruncated(java.lang.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.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionCount |
withCount(java.lang.Integer count)
The number of workflow executions.
|
WorkflowExecutionCount |
withTruncated(java.lang.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.
|
private java.lang.Integer count
The number of workflow executions.
private java.lang.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 void setCount(java.lang.Integer count)
The number of workflow executions.
count
- The number of workflow executions.public java.lang.Integer getCount()
The number of workflow executions.
public WorkflowExecutionCount withCount(java.lang.Integer count)
The number of workflow executions.
count
- The number of workflow executions.public void setTruncated(java.lang.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.
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 java.lang.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.
public WorkflowExecutionCount withTruncated(java.lang.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.
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 java.lang.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.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public WorkflowExecutionCount clone()
clone
in class java.lang.Object