Interface WorkflowExecutionSignaledEventAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowExecutionSignaledEventAttributes.Builder,
,WorkflowExecutionSignaledEventAttributes> SdkBuilder<WorkflowExecutionSignaledEventAttributes.Builder,
,WorkflowExecutionSignaledEventAttributes> SdkPojo
- Enclosing class:
WorkflowExecutionSignaledEventAttributes
-
Method Summary
Modifier and TypeMethodDescriptionexternalInitiatedEventId
(Long externalInitiatedEventId) The ID of theSignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
decision to signal this workflow execution.The source event with this ID can be found in the history of the source workflow execution.externalWorkflowExecution
(Consumer<WorkflowExecution.Builder> externalWorkflowExecution) The workflow execution that sent the signal.externalWorkflowExecution
(WorkflowExecution externalWorkflowExecution) The workflow execution that sent the signal.The inputs provided with the signal.signalName
(String signalName) The name of the signal received.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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.
-
input
The inputs provided with the signal. The decider can use the signal name and inputs to determine how to process the signal.
- Parameters:
input
- The inputs provided with the signal. 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.
-
externalWorkflowExecution
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.
- 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.
-
externalWorkflowExecution
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 method that creates an instance of theWorkflowExecution.Builder
avoiding the need to create one manually viaWorkflowExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexternalWorkflowExecution(WorkflowExecution)
.- Parameters:
externalWorkflowExecution
- a consumer that will call methods onWorkflowExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
externalInitiatedEventId
WorkflowExecutionSignaledEventAttributes.Builder externalInitiatedEventId(Long externalInitiatedEventId) The ID of the
SignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
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.- Parameters:
externalInitiatedEventId
- The ID of theSignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflow
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-