Class ChildWorkflowExecutionCanceledEventAttributes
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.ChildWorkflowExecutionCanceledEventAttributes
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ChildWorkflowExecutionCanceledEventAttributes extends Object implements Serializable, Cloneable
Provide details of the
ChildWorkflowExecutionCanceled
event.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ChildWorkflowExecutionCanceledEventAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ChildWorkflowExecutionCanceledEventAttributes
clone()
boolean
equals(Object obj)
String
getDetails()
Details of the cancellation (if provided).Long
getInitiatedEventId()
The ID of theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision to start this child workflow execution.Long
getStartedEventId()
The ID of theChildWorkflowExecutionStarted
event recorded when this child workflow execution was started.WorkflowExecution
getWorkflowExecution()
The child workflow execution that was canceled.WorkflowType
getWorkflowType()
The type of the child workflow execution.int
hashCode()
void
setDetails(String details)
Details of the cancellation (if provided).void
setInitiatedEventId(Long initiatedEventId)
The ID of theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision to start this child workflow execution.void
setStartedEventId(Long startedEventId)
The ID of theChildWorkflowExecutionStarted
event recorded when this child workflow execution was started.void
setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.void
setWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.String
toString()
Returns a string representation of this object; useful for testing and debugging.ChildWorkflowExecutionCanceledEventAttributes
withDetails(String details)
Details of the cancellation (if provided).ChildWorkflowExecutionCanceledEventAttributes
withInitiatedEventId(Long initiatedEventId)
The ID of theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision to start this child workflow execution.ChildWorkflowExecutionCanceledEventAttributes
withStartedEventId(Long startedEventId)
The ID of theChildWorkflowExecutionStarted
event recorded when this child workflow execution was started.ChildWorkflowExecutionCanceledEventAttributes
withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.ChildWorkflowExecutionCanceledEventAttributes
withWorkflowType(WorkflowType workflowType)
The type of the child workflow execution.
-
-
-
Method Detail
-
setWorkflowExecution
public void setWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.
- Parameters:
workflowExecution
- The child workflow execution that was canceled.
-
getWorkflowExecution
public WorkflowExecution getWorkflowExecution()
The child workflow execution that was canceled.
- Returns:
- The child workflow execution that was canceled.
-
withWorkflowExecution
public ChildWorkflowExecutionCanceledEventAttributes withWorkflowExecution(WorkflowExecution workflowExecution)
The child workflow execution that was canceled.
- Parameters:
workflowExecution
- The child workflow execution that was canceled.- 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 ChildWorkflowExecutionCanceledEventAttributes 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.
-
setDetails
public void setDetails(String details)
Details of the cancellation (if provided).
- Parameters:
details
- Details of the cancellation (if provided).
-
getDetails
public String getDetails()
Details of the cancellation (if provided).
- Returns:
- Details of the cancellation (if provided).
-
withDetails
public ChildWorkflowExecutionCanceledEventAttributes withDetails(String details)
Details of the cancellation (if provided).
- Parameters:
details
- Details of the cancellation (if provided).- 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
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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 theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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 ChildWorkflowExecutionCanceledEventAttributes withInitiatedEventId(Long initiatedEventId)
The ID of the
StartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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 theStartChildWorkflowExecutionInitiated
event corresponding to theStartChildWorkflowExecution
decision 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
ChildWorkflowExecutionStarted
event 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 theChildWorkflowExecutionStarted
event 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
ChildWorkflowExecutionStarted
event 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
ChildWorkflowExecutionStarted
event 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 ChildWorkflowExecutionCanceledEventAttributes withStartedEventId(Long startedEventId)
The ID of the
ChildWorkflowExecutionStarted
event 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 theChildWorkflowExecutionStarted
event 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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ChildWorkflowExecutionCanceledEventAttributes clone()
-
-