Class WorkflowExecution
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.WorkflowExecution
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class WorkflowExecution extends Object implements Serializable, Cloneable
Represents a workflow execution.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowExecution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecution
clone()
boolean
equals(Object obj)
String
getRunId()
A system-generated unique identifier for the workflow execution.String
getWorkflowId()
The user defined identifier associated with the workflow execution.int
hashCode()
void
setRunId(String runId)
A system-generated unique identifier for the workflow execution.void
setWorkflowId(String workflowId)
The user defined identifier associated with the workflow execution.String
toString()
Returns a string representation of this object; useful for testing and debugging.WorkflowExecution
withRunId(String runId)
A system-generated unique identifier for the workflow execution.WorkflowExecution
withWorkflowId(String workflowId)
The user defined identifier associated with the workflow execution.
-
-
-
Method Detail
-
setWorkflowId
public void setWorkflowId(String workflowId)
The user defined identifier associated with the workflow execution.
- Parameters:
workflowId
- The user defined identifier associated with the workflow execution.
-
getWorkflowId
public String getWorkflowId()
The user defined identifier associated with the workflow execution.
- Returns:
- The user defined identifier associated with the workflow execution.
-
withWorkflowId
public WorkflowExecution withWorkflowId(String workflowId)
The user defined identifier associated with the workflow execution.
- Parameters:
workflowId
- The user defined identifier associated with the workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRunId
public void setRunId(String runId)
A system-generated unique identifier for the workflow execution.
- Parameters:
runId
- A system-generated unique identifier for the workflow execution.
-
getRunId
public String getRunId()
A system-generated unique identifier for the workflow execution.
- Returns:
- A system-generated unique identifier for the workflow execution.
-
withRunId
public WorkflowExecution withRunId(String runId)
A system-generated unique identifier for the workflow execution.
- Parameters:
runId
- A system-generated unique identifier for the workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WorkflowExecution clone()
-
-