public class WorkflowExecution
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents a workflow execution.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
runId
A system-generated unique identifier for the workflow execution.
|
private java.lang.String |
workflowId
The user defined identifier associated with the workflow execution.
|
Constructor and Description |
---|
WorkflowExecution() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecution |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getRunId()
A system-generated unique identifier for the workflow execution.
|
java.lang.String |
getWorkflowId()
The user defined identifier associated with the workflow execution.
|
int |
hashCode() |
void |
setRunId(java.lang.String runId)
A system-generated unique identifier for the workflow execution.
|
void |
setWorkflowId(java.lang.String workflowId)
The user defined identifier associated with the workflow execution.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecution |
withRunId(java.lang.String runId)
A system-generated unique identifier for the workflow execution.
|
WorkflowExecution |
withWorkflowId(java.lang.String workflowId)
The user defined identifier associated with the workflow execution.
|
private java.lang.String workflowId
The user defined identifier associated with the workflow execution.
private java.lang.String runId
A system-generated unique identifier for the workflow execution.
public void setWorkflowId(java.lang.String workflowId)
The user defined identifier associated with the workflow execution.
workflowId
- The user defined identifier associated with the workflow
execution.public java.lang.String getWorkflowId()
The user defined identifier associated with the workflow execution.
public WorkflowExecution withWorkflowId(java.lang.String workflowId)
The user defined identifier associated with the workflow execution.
workflowId
- The user defined identifier associated with the workflow
execution.public void setRunId(java.lang.String runId)
A system-generated unique identifier for the workflow execution.
runId
- A system-generated unique identifier for the workflow execution.public java.lang.String getRunId()
A system-generated unique identifier for the workflow execution.
public WorkflowExecution withRunId(java.lang.String runId)
A system-generated unique identifier for the workflow execution.
runId
- A system-generated unique identifier for the workflow execution.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 WorkflowExecution clone()
clone
in class java.lang.Object