Class RequestCancelExternalWorkflowExecutionFailedEventAttributes

    • Method Detail

      • workflowId

        public final String workflowId()

        The workflowId of the external workflow to which the cancel request was to be delivered.

        Returns:
        The workflowId of the external workflow to which the cancel request was to be delivered.
      • runId

        public final String runId()

        The runId of the external workflow execution.

        Returns:
        The runId of the external workflow execution.
      • initiatedEventId

        public final Long initiatedEventId()

        The ID of the RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. 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 RequestCancelExternalWorkflowExecutionInitiated event corresponding to the RequestCancelExternalWorkflowExecution decision to cancel this external workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • decisionTaskCompletedEventId

        public final Long decisionTaskCompletedEventId()

        The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the RequestCancelExternalWorkflowExecution decision for this cancellation request. 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 RequestCancelExternalWorkflowExecution decision for this cancellation request. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • control

        public final String control()

        The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.

        Returns:
        The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the workflow execution.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)