Package com.oracle.bmc.ailanguage.model
Class Job.Builder
- java.lang.Object
- 
- com.oracle.bmc.ailanguage.model.Job.Builder
 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Jobbuild()Job.BuildercompartmentId(String compartmentId)The OCID of the compartment where you want to create the job.Job.BuildercompletedDocuments(Integer completedDocuments)Number of documents processed for prediction.Job.Buildercopy(Job model)Job.BuildercreatedBy(String createdBy)The OCID of the user who created the job.Job.Builderdescription(String description)A short description of the job.Job.BuilderdisplayName(String displayName)A user-friendly display name for the job.Job.BuilderfailedDocuments(Integer failedDocuments)Number of documents failed for prediction.Job.Builderid(String id)The OCID of the job.Job.BuilderinputConfiguration(InputConfiguration inputConfiguration)Job.BuilderinputLocation(InputLocation inputLocation)Job.BuilderlifecycleDetails(String lifecycleDetails)A message describing the current state in more detail.Job.BuilderlifecycleState(Job.LifecycleState lifecycleState)The current state of the Job.Job.BuildermodelMetadataDetails(List<ModelMetadataDetails> modelMetadataDetails)training model details For this release only one model is allowed to be input here.Job.BuilderoutputLocation(ObjectPrefixOutputLocation outputLocation)Job.BuilderpendingDocuments(Integer pendingDocuments)Number of documents still to process.Job.BuilderpercentComplete(Integer percentComplete)How much progress the operation has made, vs the total amount of work that must be performed.Job.BuildertimeAccepted(Date timeAccepted)Job accepted time.Job.BuildertimeCompleted(Date timeCompleted)Job finished time.Job.BuildertimeStarted(Date timeStarted)Job started time.Job.BuildertotalDocuments(Integer totalDocuments)Total number of documents given as input for prediction.Job.BuilderttlInDays(Integer ttlInDays)Time to live duration in days for Job.Job.BuilderwarningsCount(Integer warningsCount)warnings count
 
- 
- 
- 
Method Detail- 
idpublic Job.Builder id(String id) The OCID of the job.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic Job.Builder displayName(String displayName) A user-friendly display name for the job.- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Job.Builder description(String description) A short description of the job.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
inputLocationpublic Job.Builder inputLocation(InputLocation inputLocation) 
 - 
inputConfigurationpublic Job.Builder inputConfiguration(InputConfiguration inputConfiguration) 
 - 
modelMetadataDetailspublic 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
 
 - 
compartmentIdpublic 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
 
 - 
lifecycleStatepublic Job.Builder lifecycleState(Job.LifecycleState lifecycleState) The current state of the Job.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
lifecycleDetailspublic 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
 
 - 
percentCompletepublic 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
 
 - 
totalDocumentspublic 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
 
 - 
pendingDocumentspublic 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
 
 - 
completedDocumentspublic 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
 
 - 
failedDocumentspublic 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
 
 - 
warningsCountpublic Job.Builder warningsCount(Integer warningsCount) warnings count- Parameters:
- warningsCount- the value to set
- Returns:
- this builder
 
 - 
outputLocationpublic Job.Builder outputLocation(ObjectPrefixOutputLocation outputLocation) 
 - 
ttlInDayspublic 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
 
 - 
createdBypublic Job.Builder createdBy(String createdBy) The OCID of the user who created the job.- Parameters:
- createdBy- the value to set
- Returns:
- this builder
 
 - 
timeAcceptedpublic Job.Builder timeAccepted(Date timeAccepted) Job accepted time.- Parameters:
- timeAccepted- the value to set
- Returns:
- this builder
 
 - 
timeStartedpublic Job.Builder timeStarted(Date timeStarted) Job started time.- Parameters:
- timeStarted- the value to set
- Returns:
- this builder
 
 - 
timeCompletedpublic Job.Builder timeCompleted(Date timeCompleted) Job finished time.- Parameters:
- timeCompleted- the value to set
- Returns:
- this builder
 
 - 
buildpublic Job build() 
 - 
copypublic Job.Builder copy(Job model) 
 
- 
 
-