Interface TaskRun.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<TaskRun.Builder,
,TaskRun> SdkBuilder<TaskRun.Builder,
,TaskRun> SdkPojo
- Enclosing class:
TaskRun
-
Method Summary
Modifier and TypeMethodDescriptioncompletedOn
(Instant completedOn) The last point in time that the requested task run was completed.errorString
(String errorString) The list of error strings associated with this task run.executionTime
(Integer executionTime) The amount of time (in seconds) that the task run consumed resources.lastModifiedOn
(Instant lastModifiedOn) The last point in time that the requested task run was updated.logGroupName
(String logGroupName) The names of the log group for secure logging, associated with this task run.default TaskRun.Builder
properties
(Consumer<TaskRunProperties.Builder> properties) Specifies configuration properties associated with this task run.properties
(TaskRunProperties properties) Specifies configuration properties associated with this task run.The date and time that this task run started.The current status of the requested task run.status
(TaskStatusType status) The current status of the requested task run.The unique identifier for this task run.transformId
(String transformId) The unique identifier for the transform.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
transformId
The unique identifier for the transform.
- Parameters:
transformId
- The unique identifier for the transform.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
taskRunId
The unique identifier for this task run.
- Parameters:
taskRunId
- The unique identifier for this task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the requested task run.
- Parameters:
status
- The current status of the requested task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The current status of the requested task run.
- Parameters:
status
- The current status of the requested task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logGroupName
The names of the log group for secure logging, associated with this task run.
- Parameters:
logGroupName
- The names of the log group for secure logging, associated with this task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
Specifies configuration properties associated with this task run.
- Parameters:
properties
- Specifies configuration properties associated with this task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
Specifies configuration properties associated with this task run.
This is a convenience method that creates an instance of theTaskRunProperties.Builder
avoiding the need to create one manually viaTaskRunProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproperties(TaskRunProperties)
.- Parameters:
properties
- a consumer that will call methods onTaskRunProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorString
The list of error strings associated with this task run.
- Parameters:
errorString
- The list of error strings associated with this task run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedOn
The date and time that this task run started.
- Parameters:
startedOn
- The date and time that this task run started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedOn
The last point in time that the requested task run was updated.
- Parameters:
lastModifiedOn
- The last point in time that the requested task run was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedOn
The last point in time that the requested task run was completed.
- Parameters:
completedOn
- The last point in time that the requested task run was completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionTime
The amount of time (in seconds) that the task run consumed resources.
- Parameters:
executionTime
- The amount of time (in seconds) that the task run consumed resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-