Class ChildWorkflowExecutionTerminatedEventAttributes
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.ChildWorkflowExecutionTerminatedEventAttributes
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ChildWorkflowExecutionTerminatedEventAttributes extends Object implements Serializable, Cloneable
Provides details of the
ChildWorkflowExecutionTerminatedevent.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChildWorkflowExecutionTerminatedEventAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildWorkflowExecutionTerminatedEventAttributesclone()booleanequals(Object obj)LonggetInitiatedEventId()The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution.LonggetStartedEventId()The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.WorkflowExecutiongetWorkflowExecution()The child workflow execution that was terminated.WorkflowTypegetWorkflowType()The type of the child workflow execution.inthashCode()voidsetInitiatedEventId(Long initiatedEventId)The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution.voidsetStartedEventId(Long startedEventId)The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.voidsetWorkflowExecution(WorkflowExecution workflowExecution)The child workflow execution that was terminated.voidsetWorkflowType(WorkflowType workflowType)The type of the child workflow execution.StringtoString()Returns a string representation of this object; useful for testing and debugging.ChildWorkflowExecutionTerminatedEventAttributeswithInitiatedEventId(Long initiatedEventId)The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution.ChildWorkflowExecutionTerminatedEventAttributeswithStartedEventId(Long startedEventId)The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started.ChildWorkflowExecutionTerminatedEventAttributeswithWorkflowExecution(WorkflowExecution workflowExecution)The child workflow execution that was terminated.ChildWorkflowExecutionTerminatedEventAttributeswithWorkflowType(WorkflowType workflowType)The type of the child workflow execution.
-
-
-
Method Detail
-
setWorkflowExecution
public void setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was terminated.
- Parameters:
workflowExecution- The child workflow execution that was terminated.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
The child workflow execution that was terminated.
- Returns:
- The child workflow execution that was terminated.
-
withWorkflowExecution
public ChildWorkflowExecutionTerminatedEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was terminated.
- Parameters:
workflowExecution- The child workflow execution that was terminated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setWorkflowType
public void setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
- Parameters:
workflowType- The type of the child workflow execution.
-
getWorkflowType
public WorkflowType getWorkflowType()
The type of the child workflow execution.
- Returns:
- The type of the child workflow execution.
-
withWorkflowType
public ChildWorkflowExecutionTerminatedEventAttributes withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
- Parameters:
workflowType- The type of the child workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInitiatedEventId
public void setInitiatedEventId(Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
initiatedEventId- The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getInitiatedEventId
public Long getInitiatedEventId()
The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withInitiatedEventId
public ChildWorkflowExecutionTerminatedEventAttributes withInitiatedEventId(Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
initiatedEventId- The ID of theStartChildWorkflowExecutionInitiatedevent corresponding to theStartChildWorkflowExecutiondecision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setStartedEventId
public void setStartedEventId(Long startedEventId)
The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId- The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
getStartedEventId
public Long getStartedEventId()
The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Returns:
- The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
-
withStartedEventId
public ChildWorkflowExecutionTerminatedEventAttributes withStartedEventId(Long startedEventId)
The ID of the
ChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- Parameters:
startedEventId- The ID of theChildWorkflowExecutionStartedevent recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.- 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ChildWorkflowExecutionTerminatedEventAttributes clone()
-
-