Class ChildWorkflowExecutionFailedEventAttributes

    • Constructor Detail

      • ChildWorkflowExecutionFailedEventAttributes

        public ChildWorkflowExecutionFailedEventAttributes()
    • Method Detail

      • setWorkflowExecution

        public void setWorkflowExecution​(WorkflowExecution workflowExecution)

        The child workflow execution that failed.

        Parameters:
        workflowExecution - The child workflow execution that failed.
      • getWorkflowExecution

        public WorkflowExecution getWorkflowExecution()

        The child workflow execution that failed.

        Returns:
        The child workflow execution that failed.
      • withWorkflowExecution

        public ChildWorkflowExecutionFailedEventAttributes withWorkflowExecution​(WorkflowExecution workflowExecution)

        The child workflow execution that failed.

        Parameters:
        workflowExecution - The child workflow execution that failed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setWorkflowType

        public void setWorkflowType​(WorkflowType workflowType)

        The type of the child workflow execution.

        Parameters:
        workflowType - The type of the child workflow execution.
      • getWorkflowType

        public WorkflowType getWorkflowType()

        The type of the child workflow execution.

        Returns:
        The type of the child workflow execution.
      • withWorkflowType

        public ChildWorkflowExecutionFailedEventAttributes withWorkflowType​(WorkflowType workflowType)

        The type of the child workflow execution.

        Parameters:
        workflowType - The type of the child workflow execution.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setReason

        public void setReason​(String reason)

        The reason for the failure (if provided).

        Parameters:
        reason - The reason for the failure (if provided).
      • getReason

        public String getReason()

        The reason for the failure (if provided).

        Returns:
        The reason for the failure (if provided).
      • withReason

        public ChildWorkflowExecutionFailedEventAttributes withReason​(String reason)

        The reason for the failure (if provided).

        Parameters:
        reason - The reason for the failure (if provided).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDetails

        public void setDetails​(String details)

        The details of the failure (if provided).

        Parameters:
        details - The details of the failure (if provided).
      • getDetails

        public String getDetails()

        The details of the failure (if provided).

        Returns:
        The details of the failure (if provided).
      • withDetails

        public ChildWorkflowExecutionFailedEventAttributes withDetails​(String details)

        The details of the failure (if provided).

        Parameters:
        details - The details of the failure (if provided).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setInitiatedEventId

        public void setInitiatedEventId​(Long initiatedEventId)

        The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. 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 the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • getInitiatedEventId

        public Long getInitiatedEventId()

        The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child 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 StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • withInitiatedEventId

        public ChildWorkflowExecutionFailedEventAttributes withInitiatedEventId​(Long initiatedEventId)

        The ID of the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. 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 the StartChildWorkflowExecutionInitiated event corresponding to the StartChildWorkflowExecution decision to start this child workflow execution. 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.
      • setStartedEventId

        public void setStartedEventId​(Long startedEventId)

        The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Parameters:
        startedEventId - The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • getStartedEventId

        public Long getStartedEventId()

        The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. 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 ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.
      • withStartedEventId

        public ChildWorkflowExecutionFailedEventAttributes withStartedEventId​(Long startedEventId)

        The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. This information can be useful for diagnosing problems by tracing back the chain of events leading up to this event.

        Parameters:
        startedEventId - The ID of the ChildWorkflowExecutionStarted event recorded when this child workflow execution was started. 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.
      • 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