Class TaskRun.Builder
- java.lang.Object
- 
- com.oracle.bmc.dataintegration.model.TaskRun.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskRun.BuilderauthMode(TaskRun.AuthMode authMode)The autorization mode for when the task was executed.TaskRunbuild()TaskRun.BuilderbytesProcessed(Long bytesProcessed)The number of bytes processed in the task run.TaskRun.BuilderconfigProvider(ConfigProvider configProvider)TaskRun.Buildercopy(TaskRun model)TaskRun.Builderdescription(String description)Detailed description for the object.TaskRun.BuilderendTimeMillis(Long endTimeMillis)The end time.TaskRun.BuildererrorMessage(String errorMessage)Contains an error message if status is ERROR.TaskRun.BuilderexecutionErrors(List<String> executionErrors)An array of execution errors from the run.TaskRun.BuilderexpectedDuration(Double expectedDuration)The expected duration for the task run.TaskRun.BuilderexpectedDurationUnit(TaskRun.ExpectedDurationUnit expectedDurationUnit)The expected duration unit of measure.TaskRun.BuilderexternalId(String externalId)The external identifier for the task run.TaskRun.Builderidentifier(String identifier)Value can only contain upper case letters, underscore and numbers.TaskRun.BuilderisLogProcessingInProgress(Boolean isLogProcessingInProgress)This field tells the user if there is any logs being fetched in backend for failure.TaskRun.Builderkey(String key)The key of the object.TaskRun.BuilderkeyMap(Map<String,String> keyMap)A key map.TaskRun.BuilderlastUpdated(Long lastUpdated)The date and time the object was last updated.TaskRun.Buildermetadata(ObjectMetadata metadata)TaskRun.Buildermetrics(Map<String,Float> metrics)A map of metrics for the run.TaskRun.BuildermodelType(String modelType)The type of the object.TaskRun.BuildermodelVersion(String modelVersion)The model version of an object.TaskRun.Buildername(String name)Free form text without any restriction on permitted characters.TaskRun.BuilderobjectStatus(Integer objectStatus)The status of an object that can be set to value 1 for shallow references across objects, other values reserved.TaskRun.BuilderobjectVersion(Integer objectVersion)The version of the object that is used to track changes in the object instance.TaskRun.BuilderopcRequestId(String opcRequestId)The OPC request ID of execution of the task run.TaskRun.Builderoutputs(Map<String,ParameterValue> outputs)A map of the outputs of the run.TaskRun.BuilderparentRef(ParentReference parentRef)TaskRun.BuilderrecordsWritten(Long recordsWritten)The number of records processed in the task run.TaskRun.BuilderretryAttempt(Integer retryAttempt)Holds the particular attempt number.TaskRun.BuilderstartTimeMillis(Long startTimeMillis)The start time.TaskRun.Builderstatus(TaskRun.Status status)The status of the task run.TaskRun.BuildertaskKey(String taskKey)Task Key of the task for which TaskRun is being created.TaskRun.BuildertaskSchedule(TaskSchedule taskSchedule)TaskRun.BuildertaskType(TaskRun.TaskType taskType)The type of task run.TaskRun.BuilderterminationErrors(List<String> terminationErrors)An array of termination errors from the run.
 
- 
- 
- 
Method Detail- 
keypublic TaskRun.Builder key(String key) The key of the object.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
modelTypepublic TaskRun.Builder modelType(String modelType) The type of the object.- Parameters:
- modelType- the value to set
- Returns:
- this builder
 
 - 
modelVersionpublic TaskRun.Builder modelVersion(String modelVersion) The model version of an object.- Parameters:
- modelVersion- the value to set
- Returns:
- this builder
 
 - 
parentRefpublic TaskRun.Builder parentRef(ParentReference parentRef) 
 - 
namepublic TaskRun.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. - Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic TaskRun.Builder description(String description) Detailed description for the object.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
objectVersionpublic TaskRun.Builder objectVersion(Integer objectVersion) The version of the object that is used to track changes in the object instance.- Parameters:
- objectVersion- the value to set
- Returns:
- this builder
 
 - 
configProviderpublic TaskRun.Builder configProvider(ConfigProvider configProvider) 
 - 
statuspublic TaskRun.Builder status(TaskRun.Status status) The status of the task run.- Parameters:
- status- the value to set
- Returns:
- this builder
 
 - 
startTimeMillispublic TaskRun.Builder startTimeMillis(Long startTimeMillis) The start time.- Parameters:
- startTimeMillis- the value to set
- Returns:
- this builder
 
 - 
endTimeMillispublic TaskRun.Builder endTimeMillis(Long endTimeMillis) The end time.- Parameters:
- endTimeMillis- the value to set
- Returns:
- this builder
 
 - 
lastUpdatedpublic TaskRun.Builder lastUpdated(Long lastUpdated) The date and time the object was last updated.- Parameters:
- lastUpdated- the value to set
- Returns:
- this builder
 
 - 
recordsWrittenpublic TaskRun.Builder recordsWritten(Long recordsWritten) The number of records processed in the task run.- Parameters:
- recordsWritten- the value to set
- Returns:
- this builder
 
 - 
bytesProcessedpublic TaskRun.Builder bytesProcessed(Long bytesProcessed) The number of bytes processed in the task run.- Parameters:
- bytesProcessed- the value to set
- Returns:
- this builder
 
 - 
errorMessagepublic TaskRun.Builder errorMessage(String errorMessage) Contains an error message if status is ERROR.- Parameters:
- errorMessage- the value to set
- Returns:
- this builder
 
 - 
expectedDurationpublic TaskRun.Builder expectedDuration(Double expectedDuration) The expected duration for the task run.- Parameters:
- expectedDuration- the value to set
- Returns:
- this builder
 
 - 
expectedDurationUnitpublic TaskRun.Builder expectedDurationUnit(TaskRun.ExpectedDurationUnit expectedDurationUnit) The expected duration unit of measure.- Parameters:
- expectedDurationUnit- the value to set
- Returns:
- this builder
 
 - 
taskKeypublic TaskRun.Builder taskKey(String taskKey) Task Key of the task for which TaskRun is being created.If not specified, the AggregatorKey in RegistryMetadata will be assumed to be the TaskKey - Parameters:
- taskKey- the value to set
- Returns:
- this builder
 
 - 
externalIdpublic TaskRun.Builder externalId(String externalId) The external identifier for the task run.- Parameters:
- externalId- the value to set
- Returns:
- this builder
 
 - 
retryAttemptpublic TaskRun.Builder retryAttempt(Integer retryAttempt) Holds the particular attempt number.- Parameters:
- retryAttempt- the value to set
- Returns:
- this builder
 
 - 
taskSchedulepublic TaskRun.Builder taskSchedule(TaskSchedule taskSchedule) 
 - 
metricspublic TaskRun.Builder metrics(Map<String,Float> metrics) A map of metrics for the run.- Parameters:
- metrics- the value to set
- Returns:
- this builder
 
 - 
outputspublic TaskRun.Builder outputs(Map<String,ParameterValue> outputs) A map of the outputs of the run.- Parameters:
- outputs- the value to set
- Returns:
- this builder
 
 - 
executionErrorspublic TaskRun.Builder executionErrors(List<String> executionErrors) An array of execution errors from the run.- Parameters:
- executionErrors- the value to set
- Returns:
- this builder
 
 - 
terminationErrorspublic TaskRun.Builder terminationErrors(List<String> terminationErrors) An array of termination errors from the run.- Parameters:
- terminationErrors- the value to set
- Returns:
- this builder
 
 - 
authModepublic TaskRun.Builder authMode(TaskRun.AuthMode authMode) The autorization mode for when the task was executed.- Parameters:
- authMode- the value to set
- Returns:
- this builder
 
 - 
opcRequestIdpublic TaskRun.Builder opcRequestId(String opcRequestId) The OPC request ID of execution of the task run.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder
 
 - 
objectStatuspublic TaskRun.Builder objectStatus(Integer objectStatus) The status of an object that can be set to value 1 for shallow references across objects, other values reserved.- Parameters:
- objectStatus- the value to set
- Returns:
- this builder
 
 - 
taskTypepublic TaskRun.Builder taskType(TaskRun.TaskType taskType) The type of task run.- Parameters:
- taskType- the value to set
- Returns:
- this builder
 
 - 
isLogProcessingInProgresspublic TaskRun.Builder isLogProcessingInProgress(Boolean isLogProcessingInProgress) This field tells the user if there is any logs being fetched in backend for failure.Applicable only for failed pipeline tasks. - Parameters:
- isLogProcessingInProgress- the value to set
- Returns:
- this builder
 
 - 
identifierpublic TaskRun.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. - Parameters:
- identifier- the value to set
- Returns:
- this builder
 
 - 
metadatapublic TaskRun.Builder metadata(ObjectMetadata metadata) 
 - 
keyMappublic TaskRun.Builder keyMap(Map<String,String> keyMap) A key map.If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key. - Parameters:
- keyMap- the value to set
- Returns:
- this builder
 
 - 
buildpublic TaskRun build() 
 - 
copypublic TaskRun.Builder copy(TaskRun model) 
 
- 
 
-