public static class TaskRunDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
TaskRunDetails |
build() |
TaskRunDetails.Builder |
bytesProcessed(Long bytesProcessed)
Number of bytes processed in task run.
|
TaskRunDetails.Builder |
copy(TaskRunDetails model) |
TaskRunDetails.Builder |
description(String description)
Detailed description for the object.
|
TaskRunDetails.Builder |
endTimeMillis(Long endTimeMillis)
The task run end time.
|
TaskRunDetails.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers.
|
TaskRunDetails.Builder |
inputs(Map<String,ParameterValue> inputs)
A map of the configuration provider input bindings of the run.
|
TaskRunDetails.Builder |
key(String key)
The object key.
|
TaskRunDetails.Builder |
lastUpdated(Long lastUpdated)
The date and time the task run was last updated.
|
TaskRunDetails.Builder |
metadata(ObjectMetadata metadata) |
TaskRunDetails.Builder |
modelType(String modelType)
The object type.
|
TaskRunDetails.Builder |
modelVersion(String modelVersion)
The object’s model version.
|
TaskRunDetails.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
TaskRunDetails.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
TaskRunDetails.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
TaskRunDetails.Builder |
parentRef(ParentReference parentRef) |
TaskRunDetails.Builder |
recordsWritten(Long recordsWritten)
Number of records processed in task run.
|
TaskRunDetails.Builder |
refTaskRunId(String refTaskRunId)
Reference Task Run Id to be used for re-run
|
TaskRunDetails.Builder |
reRunType(TaskRunDetails.ReRunType reRunType)
Supported re-run types
|
TaskRunDetails.Builder |
startTimeMillis(Long startTimeMillis)
The task run start time.
|
TaskRunDetails.Builder |
status(TaskRunDetails.Status status)
status
|
TaskRunDetails.Builder |
stepId(String stepId)
Step Id for running from a certain step.
|
TaskRunDetails.Builder |
taskType(TaskRunDetails.TaskType taskType)
The type of the task for the run.
|
public TaskRunDetails.Builder key(String key)
The object key.
key
- the value to setpublic TaskRunDetails.Builder modelType(String modelType)
The object type.
modelType
- the value to setpublic TaskRunDetails.Builder modelVersion(String modelVersion)
The object’s model version.
modelVersion
- the value to setpublic TaskRunDetails.Builder parentRef(ParentReference parentRef)
public TaskRunDetails.Builder name(String name)
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
name
- the value to setpublic TaskRunDetails.Builder description(String description)
Detailed description for the object.
description
- the value to setpublic TaskRunDetails.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic TaskRunDetails.Builder status(TaskRunDetails.Status status)
status
status
- the value to setpublic TaskRunDetails.Builder startTimeMillis(Long startTimeMillis)
The task run start time.
startTimeMillis
- the value to setpublic TaskRunDetails.Builder endTimeMillis(Long endTimeMillis)
The task run end time.
endTimeMillis
- the value to setpublic TaskRunDetails.Builder lastUpdated(Long lastUpdated)
The date and time the task run was last updated.
lastUpdated
- the value to setpublic TaskRunDetails.Builder recordsWritten(Long recordsWritten)
Number of records processed in task run.
recordsWritten
- the value to setpublic TaskRunDetails.Builder bytesProcessed(Long bytesProcessed)
Number of bytes processed in task run.
bytesProcessed
- the value to setpublic TaskRunDetails.Builder objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
objectStatus
- the value to setpublic TaskRunDetails.Builder taskType(TaskRunDetails.TaskType taskType)
The type of the task for the run.
taskType
- the value to setpublic TaskRunDetails.Builder identifier(String identifier)
Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
identifier
- the value to setpublic TaskRunDetails.Builder refTaskRunId(String refTaskRunId)
Reference Task Run Id to be used for re-run
refTaskRunId
- the value to setpublic TaskRunDetails.Builder reRunType(TaskRunDetails.ReRunType reRunType)
Supported re-run types
reRunType
- the value to setpublic TaskRunDetails.Builder stepId(String stepId)
Step Id for running from a certain step.
stepId
- the value to setpublic TaskRunDetails.Builder inputs(Map<String,ParameterValue> inputs)
A map of the configuration provider input bindings of the run.
inputs
- the value to setpublic TaskRunDetails.Builder metadata(ObjectMetadata metadata)
public TaskRunDetails build()
public TaskRunDetails.Builder copy(TaskRunDetails model)
Copyright © 2016–2024. All rights reserved.