Interface TaskRun.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<TaskRun.Builder,TaskRun>,SdkBuilder<TaskRun.Builder,TaskRun>,SdkPojo
- Enclosing class:
- TaskRun
public static interface TaskRun.Builder extends SdkPojo, CopyableBuilder<TaskRun.Builder,TaskRun>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description TaskRun.BuildercompletedOn(Instant completedOn)The last point in time that the requested task run was completed.TaskRun.BuildererrorString(String errorString)The list of error strings associated with this task run.TaskRun.BuilderexecutionTime(Integer executionTime)The amount of time (in seconds) that the task run consumed resources.TaskRun.BuilderlastModifiedOn(Instant lastModifiedOn)The last point in time that the requested task run was updated.TaskRun.BuilderlogGroupName(String logGroupName)The names of the log group for secure logging, associated with this task run.default TaskRun.Builderproperties(Consumer<TaskRunProperties.Builder> properties)Specifies configuration properties associated with this task run.TaskRun.Builderproperties(TaskRunProperties properties)Specifies configuration properties associated with this task run.TaskRun.BuilderstartedOn(Instant startedOn)The date and time that this task run started.TaskRun.Builderstatus(String status)The current status of the requested task run.TaskRun.Builderstatus(TaskStatusType status)The current status of the requested task run.TaskRun.BuildertaskRunId(String taskRunId)The unique identifier for this task run.TaskRun.BuildertransformId(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, sdkFields
-
-
-
-
Method Detail
-
transformId
TaskRun.Builder transformId(String 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
TaskRun.Builder taskRunId(String 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
TaskRun.Builder status(String 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:
TaskStatusType,TaskStatusType
-
status
TaskRun.Builder status(TaskStatusType 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:
TaskStatusType,TaskStatusType
-
logGroupName
TaskRun.Builder logGroupName(String 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
TaskRun.Builder properties(TaskRunProperties 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
default TaskRun.Builder properties(Consumer<TaskRunProperties.Builder> properties)
Specifies configuration properties associated with this task run.
This is a convenience method that creates an instance of theTaskRunProperties.Builderavoiding the need to create one manually viaTaskRunProperties.builder().When the
Consumercompletes,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:
properties(TaskRunProperties)
-
errorString
TaskRun.Builder errorString(String 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
TaskRun.Builder startedOn(Instant 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
TaskRun.Builder lastModifiedOn(Instant 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
TaskRun.Builder completedOn(Instant 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
TaskRun.Builder executionTime(Integer 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.
-
-