Class SignalExternalWorkflowExecutionInitiatedEventAttributes

    • Constructor Detail

      • SignalExternalWorkflowExecutionInitiatedEventAttributes

        public SignalExternalWorkflowExecutionInitiatedEventAttributes()
    • Method Detail

      • setWorkflowId

        public void setWorkflowId​(String workflowId)

        The workflowId of the external workflow execution.

        Parameters:
        workflowId - The workflowId of the external workflow execution.
      • getWorkflowId

        public String getWorkflowId()

        The workflowId of the external workflow execution.

        Returns:
        The workflowId of the external workflow execution.
      • withWorkflowId

        public SignalExternalWorkflowExecutionInitiatedEventAttributes withWorkflowId​(String workflowId)

        The workflowId of the external workflow execution.

        Parameters:
        workflowId - The workflowId of the external workflow execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRunId

        public void setRunId​(String runId)

        The runId of the external workflow execution to send the signal to.

        Parameters:
        runId - The runId of the external workflow execution to send the signal to.
      • getRunId

        public String getRunId()

        The runId of the external workflow execution to send the signal to.

        Returns:
        The runId of the external workflow execution to send the signal to.
      • withRunId

        public SignalExternalWorkflowExecutionInitiatedEventAttributes withRunId​(String runId)

        The runId of the external workflow execution to send the signal to.

        Parameters:
        runId - The runId of the external workflow execution to send the signal to.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setSignalName

        public void setSignalName​(String signalName)

        The name of the signal.

        Parameters:
        signalName - The name of the signal.
      • getSignalName

        public String getSignalName()

        The name of the signal.

        Returns:
        The name of the signal.
      • setInput

        public void setInput​(String input)

        Input provided to the signal (if any).

        Parameters:
        input - Input provided to the signal (if any).
      • getInput

        public String getInput()

        Input provided to the signal (if any).

        Returns:
        Input provided to the signal (if any).
      • setDecisionTaskCompletedEventId

        public void setDecisionTaskCompletedEventId​(Long decisionTaskCompletedEventId)

        The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Parameters:
        decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • getDecisionTaskCompletedEventId

        public Long getDecisionTaskCompletedEventId()

        The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Returns:
        The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • withDecisionTaskCompletedEventId

        public SignalExternalWorkflowExecutionInitiatedEventAttributes withDecisionTaskCompletedEventId​(Long decisionTaskCompletedEventId)

        The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for this signal. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Parameters:
        decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the SignalExternalWorkflowExecution decision for 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.
      • setControl

        public void setControl​(String control)

        Optional. data attached to the event that can be used by the decider in subsequent decision tasks.

        Parameters:
        control - Optional.
      • getControl

        public String getControl()

        Optional. data attached to the event that can be used by the decider in subsequent decision tasks.

        Returns:
        Optional.
      • withControl

        public SignalExternalWorkflowExecutionInitiatedEventAttributes withControl​(String control)

        Optional. data attached to the event that can be used by the decider in subsequent decision tasks.

        Parameters:
        control - Optional.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object