Interface GetTaskInstanceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTaskInstanceResponse.Builder,,GetTaskInstanceResponse> MwaaServerlessResponse.Builder,SdkBuilder<GetTaskInstanceResponse.Builder,,GetTaskInstanceResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetTaskInstanceResponse
-
Method Summary
Modifier and TypeMethodDescriptionattemptNumber(Integer attemptNumber) The attempt number for this task instance.durationInSeconds(Integer durationInSeconds) The duration of the task instance execution in seconds.The timestamp when the task instance completed execution, in ISO 8601 date-time format.errorMessage(String errorMessage) The error message if the task instance failed.The CloudWatch log stream name for this task instance execution.modifiedAt(Instant modifiedAt) The timestamp when the task instance was last modified, in ISO 8601 date-time format.operatorName(String operatorName) The name of the Apache Airflow operator used for this task instance.The unique identifier of the workflow run that contains this task instance.The timestamp when the task instance started execution, in ISO 8601 date-time format.The current status of the task instance.status(TaskInstanceStatus status) The current status of the task instance.The unique identifier of the task definition within the workflow.taskInstanceId(String taskInstanceId) The unique identifier of this task instance.workflowArn(String workflowArn) The Amazon Resource Name (ARN) of the workflow that contains this task instance.workflowVersion(String workflowVersion) The version of the workflow that contains this task instance.Cross-communication data exchanged between tasks in the workflow execution.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mwaaserverless.model.MwaaServerlessResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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
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
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
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
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
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
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
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.
-