Package com.oracle.bmc.ailanguage.model
Class Job.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.Job.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Method Detail
-
id
public Job.Builder id(String id)
The OCID of the job.- Parameters:
id
- the value to set- Returns:
- this builder
-
displayName
public Job.Builder displayName(String displayName)
A user-friendly display name for the job.- Parameters:
displayName
- the value to set- Returns:
- this builder
-
description
public Job.Builder description(String description)
A short description of the job.- Parameters:
description
- the value to set- Returns:
- this builder
-
inputLocation
public Job.Builder inputLocation(InputLocation inputLocation)
-
inputConfiguration
public Job.Builder inputConfiguration(InputConfiguration inputConfiguration)
-
modelMetadataDetails
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
- Parameters:
modelMetadataDetails
- the value to set- Returns:
- this builder
-
compartmentId
public Job.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the job.- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
lifecycleState
public Job.Builder lifecycleState(Job.LifecycleState lifecycleState)
The current state of the Job.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder
-
lifecycleDetails
public 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.
- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder
-
percentComplete
public Job.Builder percentComplete(Integer percentComplete)
How much progress the operation has made, vs the total amount of work that must be performed.- Parameters:
percentComplete
- the value to set- Returns:
- this builder
-
totalDocuments
public 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.
- Parameters:
totalDocuments
- the value to set- Returns:
- this builder
-
pendingDocuments
public 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.
- Parameters:
pendingDocuments
- the value to set- Returns:
- this builder
-
completedDocuments
public 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.
- Parameters:
completedDocuments
- the value to set- Returns:
- this builder
-
failedDocuments
public 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.
- Parameters:
failedDocuments
- the value to set- Returns:
- this builder
-
warningsCount
public Job.Builder warningsCount(Integer warningsCount)
warnings count- Parameters:
warningsCount
- the value to set- Returns:
- this builder
-
outputLocation
public Job.Builder outputLocation(ObjectPrefixOutputLocation outputLocation)
-
ttlInDays
public Job.Builder ttlInDays(Integer ttlInDays)
Time to live duration in days for Job.Job will be available till max 90 days.
- Parameters:
ttlInDays
- the value to set- Returns:
- this builder
-
createdBy
public Job.Builder createdBy(String createdBy)
The OCID of the user who created the job.- Parameters:
createdBy
- the value to set- Returns:
- this builder
-
timeAccepted
public Job.Builder timeAccepted(Date timeAccepted)
Job accepted time.- Parameters:
timeAccepted
- the value to set- Returns:
- this builder
-
timeStarted
public Job.Builder timeStarted(Date timeStarted)
Job started time.- Parameters:
timeStarted
- the value to set- Returns:
- this builder
-
timeCompleted
public Job.Builder timeCompleted(Date timeCompleted)
Job finished time.- Parameters:
timeCompleted
- the value to set- Returns:
- this builder
-
build
public Job build()
-
copy
public Job.Builder copy(Job model)
-
-