Class Job
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.ailanguage.model.Job
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20221001") public final class Job extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelJob details which contain input document details on which prediction need to run, features (which and all language services ) need to run and where to store results
 Note: Objects should always be created or deserialized using theJob.Builder.This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the Job.Builder, which maintain a set of all explicitly set fields calledJob.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classJob.Builderstatic classJob.LifecycleStateThe current state of the Job.
 - 
Constructor SummaryConstructors Constructor Description Job(String id, String displayName, String description, InputLocation inputLocation, InputConfiguration inputConfiguration, List<ModelMetadataDetails> modelMetadataDetails, String compartmentId, Job.LifecycleState lifecycleState, String lifecycleDetails, Integer percentComplete, Integer totalDocuments, Integer pendingDocuments, Integer completedDocuments, Integer failedDocuments, Integer warningsCount, ObjectPrefixOutputLocation outputLocation, Integer ttlInDays, String createdBy, Date timeAccepted, Date timeStarted, Date timeCompleted)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Job.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetCompartmentId()The OCID of the compartment where you want to create the job.IntegergetCompletedDocuments()Number of documents processed for prediction.StringgetCreatedBy()The OCID of the user who created the job.StringgetDescription()A short description of the job.StringgetDisplayName()A user-friendly display name for the job.IntegergetFailedDocuments()Number of documents failed for prediction.StringgetId()The OCID of the job.InputConfigurationgetInputConfiguration()InputLocationgetInputLocation()StringgetLifecycleDetails()A message describing the current state in more detail.Job.LifecycleStategetLifecycleState()The current state of the Job.List<ModelMetadataDetails>getModelMetadataDetails()training model details For this release only one model is allowed to be input here.ObjectPrefixOutputLocationgetOutputLocation()IntegergetPendingDocuments()Number of documents still to process.IntegergetPercentComplete()How much progress the operation has made, vs the total amount of work that must be performed.DategetTimeAccepted()Job accepted time.DategetTimeCompleted()Job finished time.DategetTimeStarted()Job started time.IntegergetTotalDocuments()Total number of documents given as input for prediction.IntegergetTtlInDays()Time to live duration in days for Job.IntegergetWarningsCount()warnings countinthashCode()Job.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Job@Deprecated @ConstructorProperties({"id","displayName","description","inputLocation","inputConfiguration","modelMetadataDetails","compartmentId","lifecycleState","lifecycleDetails","percentComplete","totalDocuments","pendingDocuments","completedDocuments","failedDocuments","warningsCount","outputLocation","ttlInDays","createdBy","timeAccepted","timeStarted","timeCompleted"}) public Job(String id, String displayName, String description, InputLocation inputLocation, InputConfiguration inputConfiguration, List<ModelMetadataDetails> modelMetadataDetails, String compartmentId, Job.LifecycleState lifecycleState, String lifecycleDetails, Integer percentComplete, Integer totalDocuments, Integer pendingDocuments, Integer completedDocuments, Integer failedDocuments, Integer warningsCount, ObjectPrefixOutputLocation outputLocation, Integer ttlInDays, String createdBy, Date timeAccepted, Date timeStarted, Date timeCompleted) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Job.Builder builder() Create a new builder.
 - 
toBuilderpublic Job.Builder toBuilder() 
 - 
getDisplayNamepublic String getDisplayName() A user-friendly display name for the job.- Returns:
- the value
 
 - 
getDescriptionpublic String getDescription() A short description of the job.- Returns:
- the value
 
 - 
getInputLocationpublic InputLocation getInputLocation() 
 - 
getInputConfigurationpublic InputConfiguration getInputConfiguration() 
 - 
getModelMetadataDetailspublic List<ModelMetadataDetails> getModelMetadataDetails() 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 - Returns:
- the value
 
 - 
getCompartmentIdpublic String getCompartmentId() The OCID of the compartment where you want to create the job.- Returns:
- the value
 
 - 
getLifecycleStatepublic Job.LifecycleState getLifecycleState() The current state of the Job.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() A message describing the current state in more detail.For example, can be used to provide actionable information for a resource in Failed state. - Returns:
- the value
 
 - 
getPercentCompletepublic Integer getPercentComplete() How much progress the operation has made, vs the total amount of work that must be performed.- Returns:
- the value
 
 - 
getTotalDocumentspublic Integer getTotalDocuments() Total number of documents given as input for prediction.For CSV this signifies number of rows and for TXT this signifies number of files. - Returns:
- the value
 
 - 
getPendingDocumentspublic Integer getPendingDocuments() Number of documents still to process.For CSV this signifies number of rows and for TXT this signifies number of files. - Returns:
- the value
 
 - 
getCompletedDocumentspublic Integer getCompletedDocuments() Number of documents processed for prediction.For CSV this signifies number of rows and for TXT this signifies number of files. - Returns:
- the value
 
 - 
getFailedDocumentspublic Integer getFailedDocuments() Number of documents failed for prediction.For CSV this signifies number of rows and for TXT this signifies number of files. - Returns:
- the value
 
 - 
getWarningsCountpublic Integer getWarningsCount() warnings count- Returns:
- the value
 
 - 
getOutputLocationpublic ObjectPrefixOutputLocation getOutputLocation() 
 - 
getTtlInDayspublic Integer getTtlInDays() Time to live duration in days for Job.Job will be available till max 90 days. - Returns:
- the value
 
 - 
getCreatedBypublic String getCreatedBy() The OCID of the user who created the job.- Returns:
- the value
 
 - 
getTimeAcceptedpublic Date getTimeAccepted() Job accepted time.- Returns:
- the value
 
 - 
getTimeStartedpublic Date getTimeStarted() Job started time.- Returns:
- the value
 
 - 
getTimeCompletedpublic Date getTimeCompleted() Job finished time.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-