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