public static interface WorkflowExecutionSignaledEventAttributes.Builder extends CopyableBuilder<WorkflowExecutionSignaledEventAttributes.Builder,WorkflowExecutionSignaledEventAttributes>
Modifier and Type | Method and Description |
---|---|
WorkflowExecutionSignaledEventAttributes.Builder |
externalInitiatedEventId(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. |
default WorkflowExecutionSignaledEventAttributes.Builder |
externalWorkflowExecution(Consumer<WorkflowExecution.Builder> externalWorkflowExecution)
The workflow execution that sent the signal.
|
WorkflowExecutionSignaledEventAttributes.Builder |
externalWorkflowExecution(WorkflowExecution externalWorkflowExecution)
The workflow execution that sent the signal.
|
WorkflowExecutionSignaledEventAttributes.Builder |
input(String input)
The inputs provided with the signal.
|
WorkflowExecutionSignaledEventAttributes.Builder |
signalName(String signalName)
The name of the signal received.
|
copy
applyMutation, build
WorkflowExecutionSignaledEventAttributes.Builder signalName(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.WorkflowExecutionSignaledEventAttributes.Builder input(String input)
The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.
input
- The inputs provided with the signal. The decider can use the signal name and inputs to determine how
to process the signal.WorkflowExecutionSignaledEventAttributes.Builder externalWorkflowExecution(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.default WorkflowExecutionSignaledEventAttributes.Builder externalWorkflowExecution(Consumer<WorkflowExecution.Builder> externalWorkflowExecution)
The workflow execution that sent the signal. This is set only of the signal was sent by another workflow execution.
This is a convenience that creates an instance of theWorkflowExecution.Builder
avoiding the need to
create one manually via WorkflowExecution.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to externalWorkflowExecution(WorkflowExecution)
.externalWorkflowExecution
- a consumer that will call methods on WorkflowExecution.Builder
externalWorkflowExecution(WorkflowExecution)
WorkflowExecutionSignaledEventAttributes.Builder externalInitiatedEventId(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.