public static class RuntimeOperator.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RuntimeOperator |
build() |
RuntimeOperator.Builder |
configProvider(ConfigProvider configProvider) |
RuntimeOperator.Builder |
copy(RuntimeOperator model) |
RuntimeOperator.Builder |
endTimeInMillis(Long endTimeInMillis)
The runtime operator end time.
|
RuntimeOperator.Builder |
executionState(RuntimeOperator.ExecutionState executionState)
status
|
RuntimeOperator.Builder |
identifier(String identifier)
Value can only contain upper case letters, underscore and numbers.
|
RuntimeOperator.Builder |
inputs(Map<String,ParameterValue> inputs)
The configuration provider bindings.
|
RuntimeOperator.Builder |
key(String key)
The RuntimeOperator key.
|
RuntimeOperator.Builder |
metadata(ObjectMetadata metadata) |
RuntimeOperator.Builder |
metrics(Map<String,Float> metrics)
A map metrics for the task run.
|
RuntimeOperator.Builder |
modelType(String modelType)
The type of the object.
|
RuntimeOperator.Builder |
modelVersion(String modelVersion)
The model version of an object.
|
RuntimeOperator.Builder |
name(String name)
Free form text without any restriction on permitted characters.
|
RuntimeOperator.Builder |
objectStatus(Integer objectStatus)
The status of an object that can be set to value 1 for shallow references across objects,
other values reserved.
|
RuntimeOperator.Builder |
objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
|
RuntimeOperator.Builder |
operator(Operator operator) |
RuntimeOperator.Builder |
operatorType(RuntimeOperator.OperatorType operatorType)
The type of Runtime Operator
|
RuntimeOperator.Builder |
outputs(Map<String,ParameterValue> outputs)
The configuration provider bindings.
|
RuntimeOperator.Builder |
parameters(List<Parameter> parameters)
A list of parameters for the pipeline, this allows certain aspects of the pipeline to be
configured when the pipeline is executed.
|
RuntimeOperator.Builder |
parentRef(ParentReference parentRef) |
RuntimeOperator.Builder |
startTimeInMillis(Long startTimeInMillis)
The runtime operator start time.
|
RuntimeOperator.Builder |
status(RuntimeOperator.Status status)
Status of RuntimeOperator.
|
RuntimeOperator.Builder |
taskRunKey(String taskRunKey)
The TaskRun key.
|
RuntimeOperator.Builder |
taskType(RuntimeOperator.TaskType taskType)
The type of task run.
|
public RuntimeOperator.Builder key(String key)
The RuntimeOperator key.
key
- the value to setpublic RuntimeOperator.Builder taskRunKey(String taskRunKey)
The TaskRun key.
taskRunKey
- the value to setpublic RuntimeOperator.Builder startTimeInMillis(Long startTimeInMillis)
The runtime operator start time.
startTimeInMillis
- the value to setpublic RuntimeOperator.Builder endTimeInMillis(Long endTimeInMillis)
The runtime operator end time.
endTimeInMillis
- the value to setpublic RuntimeOperator.Builder status(RuntimeOperator.Status status)
Status of RuntimeOperator. This field is deprecated, use RuntimeOperator’s executionState field instead.
status
- the value to setpublic RuntimeOperator.Builder modelType(String modelType)
The type of the object.
modelType
- the value to setpublic RuntimeOperator.Builder modelVersion(String modelVersion)
The model version of an object.
modelVersion
- the value to setpublic RuntimeOperator.Builder parentRef(ParentReference parentRef)
public RuntimeOperator.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 RuntimeOperator.Builder objectVersion(Integer objectVersion)
The version of the object that is used to track changes in the object instance.
objectVersion
- the value to setpublic RuntimeOperator.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 RuntimeOperator.Builder executionState(RuntimeOperator.ExecutionState executionState)
status
executionState
- the value to setpublic RuntimeOperator.Builder parameters(List<Parameter> parameters)
A list of parameters for the pipeline, this allows certain aspects of the pipeline to be configured when the pipeline is executed.
parameters
- the value to setpublic RuntimeOperator.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 RuntimeOperator.Builder metadata(ObjectMetadata metadata)
public RuntimeOperator.Builder operator(Operator operator)
public RuntimeOperator.Builder inputs(Map<String,ParameterValue> inputs)
The configuration provider bindings.
inputs
- the value to setpublic RuntimeOperator.Builder outputs(Map<String,ParameterValue> outputs)
The configuration provider bindings.
outputs
- the value to setpublic RuntimeOperator.Builder taskType(RuntimeOperator.TaskType taskType)
The type of task run.
taskType
- the value to setpublic RuntimeOperator.Builder configProvider(ConfigProvider configProvider)
public RuntimeOperator.Builder operatorType(RuntimeOperator.OperatorType operatorType)
The type of Runtime Operator
operatorType
- the value to setpublic RuntimeOperator.Builder metrics(Map<String,Float> metrics)
A map metrics for the task run.
metrics
- the value to setpublic RuntimeOperator build()
public RuntimeOperator.Builder copy(RuntimeOperator model)
Copyright © 2016–2024. All rights reserved.