Interface WorkflowExecutionSignaledEventAttributes.Builder

    • Method Detail

      • signalName

        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.

        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

        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.

        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.
      • externalInitiatedEventId

        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.

        Parameters:
        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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.