public class WorkflowExecutionSignaledEventAttributes extends Object implements Serializable, Cloneable
Provides details of the WorkflowExecutionSignaled
event.
Constructor and Description |
---|
WorkflowExecutionSignaledEventAttributes() |
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionSignaledEventAttributes |
clone() |
boolean |
equals(Object obj) |
Long |
getExternalInitiatedEventId()
The ID of the
SignalExternalWorkflowExecutionInitiated event
corresponding to the SignalExternalWorkflow decision to
signal this workflow execution.The source event with this ID can be found
in the history of the source workflow execution. |
WorkflowExecution |
getExternalWorkflowExecution()
The workflow execution that sent the signal.
|
String |
getInput()
Inputs provided with the signal (if any).
|
String |
getSignalName()
The name of the signal received.
|
int |
hashCode() |
void |
setExternalInitiatedEventId(Long externalInitiatedEventId)
The ID of the
SignalExternalWorkflowExecutionInitiated event
corresponding to the SignalExternalWorkflow decision to
signal this workflow execution.The source event with this ID can be found
in the history of the source workflow execution. |
void |
setExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The workflow execution that sent the signal.
|
void |
setInput(String input)
Inputs provided with the signal (if any).
|
void |
setSignalName(String signalName)
The name of the signal received.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
WorkflowExecutionSignaledEventAttributes |
withExternalInitiatedEventId(Long externalInitiatedEventId)
The ID of the
SignalExternalWorkflowExecutionInitiated event
corresponding to the SignalExternalWorkflow decision to
signal this workflow execution.The source event with this ID can be found
in the history of the source workflow execution. |
WorkflowExecutionSignaledEventAttributes |
withExternalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The workflow execution that sent the signal.
|
WorkflowExecutionSignaledEventAttributes |
withInput(String input)
Inputs provided with the signal (if any).
|
WorkflowExecutionSignaledEventAttributes |
withSignalName(String signalName)
The name of the signal received.
|
public WorkflowExecutionSignaledEventAttributes()
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.
signalName
- The name of the signal received. The decider can use the signal
name and inputs to determine how to the process the signal.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.
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.
signalName
- The name of the signal received. The decider can use the signal
name and inputs to determine how to the process the signal.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.
input
- Inputs provided with the signal (if any). The decider can use the
signal name and inputs to determine how to process the signal.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.
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.
input
- Inputs provided with the signal (if any). The decider can use the
signal name and inputs to determine how to process the signal.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.
externalWorkflowExecution
- The workflow execution that sent the signal. This is set only of
the signal was sent by another workflow execution.public WorkflowExecution getExternalWorkflowExecution()
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
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.
externalWorkflowExecution
- The workflow execution that sent the signal. This is set only of
the signal was sent by another workflow execution.public void setExternalInitiatedEventId(Long externalInitiatedEventId)
The ID of the SignalExternalWorkflowExecutionInitiated
event
corresponding to the SignalExternalWorkflow
decision 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.
externalInitiatedEventId
- The ID of the
SignalExternalWorkflowExecutionInitiated
event
corresponding to the SignalExternalWorkflow
decision
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.public Long getExternalInitiatedEventId()
The ID of the SignalExternalWorkflowExecutionInitiated
event
corresponding to the SignalExternalWorkflow
decision 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.
SignalExternalWorkflowExecutionInitiated
event
corresponding to the SignalExternalWorkflow
decision
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.public WorkflowExecutionSignaledEventAttributes withExternalInitiatedEventId(Long externalInitiatedEventId)
The ID of the SignalExternalWorkflowExecutionInitiated
event
corresponding to the SignalExternalWorkflow
decision 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.
externalInitiatedEventId
- The ID of the
SignalExternalWorkflowExecutionInitiated
event
corresponding to the SignalExternalWorkflow
decision
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.public String toString()
toString
in class Object
Object.toString()
public WorkflowExecutionSignaledEventAttributes clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.