Interface ExternalWorkflowExecutionSignaledEventAttributes.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExternalWorkflowExecutionSignaledEventAttributes.Builder,
,ExternalWorkflowExecutionSignaledEventAttributes> SdkBuilder<ExternalWorkflowExecutionSignaledEventAttributes.Builder,
,ExternalWorkflowExecutionSignaledEventAttributes> SdkPojo
- Enclosing class:
ExternalWorkflowExecutionSignaledEventAttributes
public static interface ExternalWorkflowExecutionSignaledEventAttributes.Builder
extends SdkPojo, CopyableBuilder<ExternalWorkflowExecutionSignaledEventAttributes.Builder,ExternalWorkflowExecutionSignaledEventAttributes>
-
Method Summary
Modifier and TypeMethodDescriptioninitiatedEventId
(Long initiatedEventId) The ID of theSignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflowExecution
decision to request this signal.workflowExecution
(Consumer<WorkflowExecution.Builder> workflowExecution) The external workflow execution that the signal was delivered to.workflowExecution
(WorkflowExecution workflowExecution) The external workflow execution that the signal was delivered to.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
-
workflowExecution
ExternalWorkflowExecutionSignaledEventAttributes.Builder workflowExecution(WorkflowExecution workflowExecution) The external workflow execution that the signal was delivered to.
- Parameters:
workflowExecution
- The external workflow execution that the signal was delivered to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowExecution
default ExternalWorkflowExecutionSignaledEventAttributes.Builder workflowExecution(Consumer<WorkflowExecution.Builder> workflowExecution) The external workflow execution that the signal was delivered to.
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 toworkflowExecution(WorkflowExecution)
.- Parameters:
workflowExecution
- 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:
-
initiatedEventId
The ID of the
SignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflowExecution
decision to request this signal. 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 theSignalExternalWorkflowExecutionInitiated
event corresponding to theSignalExternalWorkflowExecution
decision to request this signal. 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.
-