Class WorkflowExecutionSignaledEventAttributes
- java.lang.Object
-
- com.amazonaws.services.simpleworkflow.model.WorkflowExecutionSignaledEventAttributes
-
- All Implemented Interfaces:
Serializable,Cloneable
public class WorkflowExecutionSignaledEventAttributes extends Object implements Serializable, Cloneable
Provides details of the
WorkflowExecutionSignaledevent.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionSignaledEventAttributes()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowExecutionSignaledEventAttributesclone()booleanequals(Object obj)LonggetExternalInitiatedEventId()The ID of theSignalExternalWorkflowExecutionInitiatedevent corresponding to theSignalExternalWorkflowdecision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution.WorkflowExecutiongetExternalWorkflowExecution()The workflow execution that sent the signal.StringgetInput()Inputs provided with the signal (if any).StringgetSignalName()The name of the signal received.inthashCode()voidsetExternalInitiatedEventId(Long externalInitiatedEventId)The ID of theSignalExternalWorkflowExecutionInitiatedevent corresponding to theSignalExternalWorkflowdecision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution.voidsetExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)The workflow execution that sent the signal.voidsetInput(String input)Inputs provided with the signal (if any).voidsetSignalName(String signalName)The name of the signal received.StringtoString()Returns a string representation of this object; useful for testing and debugging.WorkflowExecutionSignaledEventAttributeswithExternalInitiatedEventId(Long externalInitiatedEventId)The ID of theSignalExternalWorkflowExecutionInitiatedevent corresponding to theSignalExternalWorkflowdecision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution.WorkflowExecutionSignaledEventAttributeswithExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)The workflow execution that sent the signal.WorkflowExecutionSignaledEventAttributeswithInput(String input)Inputs provided with the signal (if any).WorkflowExecutionSignaledEventAttributeswithSignalName(String signalName)The name of the signal received.
-
-
-
Method Detail
-
setSignalName
public void setSignalName(String signalName)
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
- Parameters:
signalName- The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
-
getSignalName
public String getSignalName()
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
- Returns:
- The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
-
withSignalName
public WorkflowExecutionSignaledEventAttributes withSignalName(String signalName)
The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.
- Parameters:
signalName- The name of the signal received. The decider can use the signal name and inputs to determine how to the process the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setInput
public void setInput(String input)
Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
- Parameters:
input- Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
-
getInput
public String getInput()
Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
- Returns:
- Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
-
withInput
public WorkflowExecutionSignaledEventAttributes withInput(String input)
Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.
- Parameters:
input- Inputs provided with the signal (if any). The decider can use the signal name and inputs to determine how to process the signal.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExternalWorkflowExecution
public void setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
- Parameters:
externalWorkflowExecution- The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
-
getExternalWorkflowExecution
public WorkflowExecution getExternalWorkflowExecution()
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
- Returns:
- The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
-
withExternalWorkflowExecution
public WorkflowExecutionSignaledEventAttributes withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
- Parameters:
externalWorkflowExecution- The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setExternalInitiatedEventId
public void setExternalInitiatedEventId(Long externalInitiatedEventId)
The ID of the
SignalExternalWorkflowExecutionInitiatedevent corresponding to theSignalExternalWorkflowdecision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.- Parameters:
externalInitiatedEventId- The ID of theSignalExternalWorkflowExecutionInitiatedevent corresponding to theSignalExternalWorkflowdecision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.
-
getExternalInitiatedEventId
public Long getExternalInitiatedEventId()
The ID of the
SignalExternalWorkflowExecutionInitiatedevent corresponding to theSignalExternalWorkflowdecision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.- Returns:
- The ID of the
SignalExternalWorkflowExecutionInitiatedevent corresponding to theSignalExternalWorkflowdecision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.
-
withExternalInitiatedEventId
public WorkflowExecutionSignaledEventAttributes withExternalInitiatedEventId(Long externalInitiatedEventId)
The ID of the
SignalExternalWorkflowExecutionInitiatedevent corresponding to theSignalExternalWorkflowdecision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another workflow execution.- Parameters:
externalInitiatedEventId- The ID of theSignalExternalWorkflowExecutionInitiatedevent corresponding to theSignalExternalWorkflowdecision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event. This field is set only if the signal was initiated by another 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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public WorkflowExecutionSignaledEventAttributes clone()
-
-