Interface StartChildWorkflowExecutionFailedEventAttributes.Builder

All Superinterfaces:
Buildable, CopyableBuilder<StartChildWorkflowExecutionFailedEventAttributes.Builder,StartChildWorkflowExecutionFailedEventAttributes>, SdkBuilder<StartChildWorkflowExecutionFailedEventAttributes.Builder,StartChildWorkflowExecutionFailedEventAttributes>, SdkPojo
Enclosing class:
StartChildWorkflowExecutionFailedEventAttributes

public static interface StartChildWorkflowExecutionFailedEventAttributes.Builder extends SdkPojo, CopyableBuilder<StartChildWorkflowExecutionFailedEventAttributes.Builder,StartChildWorkflowExecutionFailedEventAttributes>
  • Method Details

    • workflowType

      The workflow type provided in the StartChildWorkflowExecution Decision that failed.

      Parameters:
      workflowType - The workflow type provided in the StartChildWorkflowExecution Decision that failed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowType

      The workflow type provided in the StartChildWorkflowExecution Decision that failed.

      This is a convenience method that creates an instance of the WorkflowType.Builder avoiding the need to create one manually via WorkflowType.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to workflowType(WorkflowType).

      Parameters:
      workflowType - a consumer that will call methods on WorkflowType.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cause

      The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

      When cause is set to OPERATION_NOT_PERMITTED, the decision fails because it lacks sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

      Parameters:
      causeValue - The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

      When cause is set to OPERATION_NOT_PERMITTED, the decision fails because it lacks sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • cause

      The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

      When cause is set to OPERATION_NOT_PERMITTED, the decision fails because it lacks sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

      Parameters:
      causeValue - The cause of the failure. This information is generated by the system and can be useful for diagnostic purposes.

      When cause is set to OPERATION_NOT_PERMITTED, the decision fails because it lacks sufficient permissions. For details and example IAM policies, see Using IAM to Manage Access to Amazon SWF Workflows in the Amazon SWF Developer Guide.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • workflowId

      The workflowId of the child workflow execution.

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

      When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated event that corresponds to the StartChildWorkflowExecution Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.

      When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the StartChildWorkflowExecutionInitiated event doesn't exist.

      Parameters:
      initiatedEventId - When the cause is WORKFLOW_ALREADY_RUNNING, initiatedEventId is the ID of the StartChildWorkflowExecutionInitiated event that corresponds to the StartChildWorkflowExecution Decision to start the workflow execution. You can use this information to diagnose problems by tracing back the chain of events leading up to this event.

      When the cause isn't WORKFLOW_ALREADY_RUNNING, initiatedEventId is set to 0 because the StartChildWorkflowExecutionInitiated event doesn't exist.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • decisionTaskCompletedEventId

      StartChildWorkflowExecutionFailedEventAttributes.Builder decisionTaskCompletedEventId(Long decisionTaskCompletedEventId)

      The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.

      Parameters:
      decisionTaskCompletedEventId - The ID of the DecisionTaskCompleted event corresponding to the decision task that resulted in the StartChildWorkflowExecution Decision to request this child workflow execution. This information can be useful for diagnosing problems by tracing back the chain of events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • control

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

      Parameters:
      control - The data attached to the event that the decider can use in subsequent workflow tasks. This data isn't sent to the child workflow execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.