Interface GetTaskInstanceResponse.Builder

  • Method Details

    • workflowArn

      GetTaskInstanceResponse.Builder workflowArn(String workflowArn)

      The Amazon Resource Name (ARN) of the workflow that contains this task instance.

      Parameters:
      workflowArn - The Amazon Resource Name (ARN) of the workflow that contains this task instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • runId

      The unique identifier of the workflow run that contains this task instance.

      Parameters:
      runId - The unique identifier of the workflow run that contains this task instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskInstanceId

      GetTaskInstanceResponse.Builder taskInstanceId(String taskInstanceId)

      The unique identifier of this task instance.

      Parameters:
      taskInstanceId - The unique identifier of this task instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • workflowVersion

      GetTaskInstanceResponse.Builder workflowVersion(String workflowVersion)

      The version of the workflow that contains this task instance.

      Parameters:
      workflowVersion - The version of the workflow that contains this task instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the task instance.

      Parameters:
      status - The current status of the task instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      The current status of the task instance.

      Parameters:
      status - The current status of the task instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • durationInSeconds

      GetTaskInstanceResponse.Builder durationInSeconds(Integer durationInSeconds)

      The duration of the task instance execution in seconds. This value is null if the task is not complete.

      Parameters:
      durationInSeconds - The duration of the task instance execution in seconds. This value is null if the task is not complete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operatorName

      GetTaskInstanceResponse.Builder operatorName(String operatorName)

      The name of the Apache Airflow operator used for this task instance.

      Parameters:
      operatorName - The name of the Apache Airflow operator used for this task instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • modifiedAt

      GetTaskInstanceResponse.Builder modifiedAt(Instant modifiedAt)

      The timestamp when the task instance was last modified, in ISO 8601 date-time format.

      Parameters:
      modifiedAt - The timestamp when the task instance was last modified, in ISO 8601 date-time format.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endedAt

      The timestamp when the task instance completed execution, in ISO 8601 date-time format. This value is null if the task is not complete.

      Parameters:
      endedAt - The timestamp when the task instance completed execution, in ISO 8601 date-time format. This value is null if the task is not complete.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startedAt

      The timestamp when the task instance started execution, in ISO 8601 date-time format. This value is null if the task has not started.

      Parameters:
      startedAt - The timestamp when the task instance started execution, in ISO 8601 date-time format. This value is null if the task has not started.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • attemptNumber

      GetTaskInstanceResponse.Builder attemptNumber(Integer attemptNumber)

      The attempt number for this task instance.

      Parameters:
      attemptNumber - The attempt number for this task instance.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      GetTaskInstanceResponse.Builder errorMessage(String errorMessage)

      The error message if the task instance failed. This value is null if the task completed successfully.

      Parameters:
      errorMessage - The error message if the task instance failed. This value is null if the task completed successfully.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • taskId

      The unique identifier of the task definition within the workflow.

      Parameters:
      taskId - The unique identifier of the task definition within the workflow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logStream

      The CloudWatch log stream name for this task instance execution.

      Parameters:
      logStream - The CloudWatch log stream name for this task instance execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • xcom

      Cross-communication data exchanged between tasks in the workflow execution.

      Parameters:
      xcom - Cross-communication data exchanged between tasks in the workflow execution.
      Returns:
      Returns a reference to this object so that method calls can be chained together.