Interface WorkflowRunDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<WorkflowRunDetail.Builder,,WorkflowRunDetail> SdkBuilder<WorkflowRunDetail.Builder,,WorkflowRunDetail> SdkPojo
- Enclosing class:
WorkflowRunDetail
-
Method Summary
Modifier and TypeMethodDescriptioncompletedOn(Instant completedOn) The timestamp when the workflow run completed execution, in ISO 8601 date-time format.The timestamp when the workflow run was created, in ISO 8601 date-time format.The total duration of the workflow run execution in seconds.errorMessage(String errorMessage) The error message if the workflow run failed.modifiedAt(Instant modifiedAt) The timestamp when the workflow run was last modified, in ISO 8601 date-time format.The unique identifier of this workflow run.The current execution state of the workflow run.runState(WorkflowRunStatus runState) The current execution state of the workflow run.The type of workflow run.The type of workflow run.The timestamp when the workflow run started execution, in ISO 8601 date-time format.taskInstances(String... taskInstances) A list of task instance IDs that are part of this workflow run.taskInstances(Collection<String> taskInstances) A list of task instance IDs that are part of this workflow run.workflowArn(String workflowArn) The Amazon Resource Name (ARN) of the workflow that contains this run.workflowVersion(String workflowVersion) The version of the workflow used for this run.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
workflowArn
The Amazon Resource Name (ARN) of the workflow that contains this run.
- Parameters:
workflowArn- The Amazon Resource Name (ARN) of the workflow that contains this run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowVersion
The version of the workflow used for this run.
- Parameters:
workflowVersion- The version of the workflow used for this run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runId
The unique identifier of this workflow run.
- Parameters:
runId- The unique identifier of this workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runType
The type of workflow run.
- Parameters:
runType- The type of workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runType
The type of workflow run.
- Parameters:
runType- The type of workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startedOn
The timestamp when the workflow run started execution, in ISO 8601 date-time format.
- Parameters:
startedOn- The timestamp when the workflow run started execution, in ISO 8601 date-time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp when the workflow run was created, in ISO 8601 date-time format.
- Parameters:
createdAt- The timestamp when the workflow run was created, in ISO 8601 date-time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedOn
The timestamp when the workflow run completed execution, in ISO 8601 date-time format. This value is null if the run is not complete.
- Parameters:
completedOn- The timestamp when the workflow run completed execution, in ISO 8601 date-time format. This value is null if the run is not complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The timestamp when the workflow run was last modified, in ISO 8601 date-time format.
- Parameters:
modifiedAt- The timestamp when the workflow run was last modified, in ISO 8601 date-time format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
duration
The total duration of the workflow run execution in seconds. This value is null if the run is not complete.
- Parameters:
duration- The total duration of the workflow run execution in seconds. This value is null if the run is not complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errorMessage
The error message if the workflow run failed. This value is null if the run completed successfully.
- Parameters:
errorMessage- The error message if the workflow run failed. This value is null if the run completed successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskInstances
A list of task instance IDs that are part of this workflow run.
- Parameters:
taskInstances- A list of task instance IDs that are part of this workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskInstances
A list of task instance IDs that are part of this workflow run.
- Parameters:
taskInstances- A list of task instance IDs that are part of this workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runState
The current execution state of the workflow run.
- Parameters:
runState- The current execution state of the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runState
The current execution state of the workflow run.
- Parameters:
runState- The current execution state of the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-