Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Job |
build() |
Job.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where you want to create the job.
|
Job.Builder |
completedDocuments(Integer completedDocuments)
Number of documents processed for prediction.
|
Job.Builder |
copy(Job model) |
Job.Builder |
createdBy(String createdBy)
The OCID
of the user who created the job.
|
Job.Builder |
description(String description)
A short description of the job.
|
Job.Builder |
displayName(String displayName)
A user-friendly display name for the job.
|
Job.Builder |
failedDocuments(Integer failedDocuments)
Number of documents failed for prediction.
|
Job.Builder |
id(String id)
The OCID
of the job.
|
Job.Builder |
inputConfiguration(InputConfiguration inputConfiguration) |
Job.Builder |
inputLocation(InputLocation inputLocation) |
Job.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Job.Builder |
lifecycleState(Job.LifecycleState lifecycleState)
The current state of the Job.
|
Job.Builder |
modelMetadataDetails(List<ModelMetadataDetails> modelMetadataDetails)
training model details For this release only one model is allowed to be input here.
|
Job.Builder |
outputLocation(ObjectPrefixOutputLocation outputLocation) |
Job.Builder |
pendingDocuments(Integer pendingDocuments)
Number of documents still to process.
|
Job.Builder |
percentComplete(Integer percentComplete)
How much progress the operation has made, vs the total amount of work that must be
performed.
|
Job.Builder |
timeAccepted(Date timeAccepted)
Job accepted time.
|
Job.Builder |
timeCompleted(Date timeCompleted)
Job finished time.
|
Job.Builder |
timeStarted(Date timeStarted)
Job started time.
|
Job.Builder |
totalDocuments(Integer totalDocuments)
Total number of documents given as input for prediction.
|
Job.Builder |
ttlInDays(Integer ttlInDays)
Time to live duration in days for Job.
|
Job.Builder |
warningsCount(Integer warningsCount)
warnings count
|
public Job.Builder id(String id)
The OCID of the job.
id
- the value to setpublic Job.Builder displayName(String displayName)
A user-friendly display name for the job.
displayName
- the value to setpublic Job.Builder description(String description)
A short description of the job.
description
- the value to setpublic Job.Builder inputLocation(InputLocation inputLocation)
public Job.Builder inputConfiguration(InputConfiguration inputConfiguration)
public Job.Builder modelMetadataDetails(List<ModelMetadataDetails> modelMetadataDetails)
training model details For this release only one model is allowed to be input here. One of the three modelType, ModelId, endpointId should be given other wise error will be thrown from API
modelMetadataDetails
- the value to setpublic Job.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.
compartmentId
- the value to setpublic Job.Builder lifecycleState(Job.LifecycleState lifecycleState)
The current state of the Job.
lifecycleState
- the value to setpublic Job.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail. For example, can be used to provide actionable information for a resource in Failed state.
lifecycleDetails
- the value to setpublic Job.Builder percentComplete(Integer percentComplete)
How much progress the operation has made, vs the total amount of work that must be performed.
percentComplete
- the value to setpublic Job.Builder totalDocuments(Integer totalDocuments)
Total number of documents given as input for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
totalDocuments
- the value to setpublic Job.Builder pendingDocuments(Integer pendingDocuments)
Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
pendingDocuments
- the value to setpublic Job.Builder completedDocuments(Integer completedDocuments)
Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
completedDocuments
- the value to setpublic Job.Builder failedDocuments(Integer failedDocuments)
Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
failedDocuments
- the value to setpublic Job.Builder warningsCount(Integer warningsCount)
warnings count
warningsCount
- the value to setpublic Job.Builder outputLocation(ObjectPrefixOutputLocation outputLocation)
public Job.Builder ttlInDays(Integer ttlInDays)
Time to live duration in days for Job. Job will be available till max 90 days.
ttlInDays
- the value to setpublic Job.Builder createdBy(String createdBy)
The OCID of the user who created the job.
createdBy
- the value to setpublic Job.Builder timeAccepted(Date timeAccepted)
Job accepted time.
timeAccepted
- the value to setpublic Job.Builder timeStarted(Date timeStarted)
Job started time.
timeStarted
- the value to setpublic Job.Builder timeCompleted(Date timeCompleted)
Job finished time.
timeCompleted
- the value to setpublic Job build()
public Job.Builder copy(Job model)
Copyright © 2016–2024. All rights reserved.