@Generated(value="OracleSDKGenerator", comments="API Version: 20221001") public final class Job extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Job 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 the Job.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 called Job.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
Job.Builder |
static class |
Job.LifecycleState
The current state of the Job.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static Job.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of
the compartment where you want to create the job.
|
Integer |
getCompletedDocuments()
Number of documents processed for prediction.
|
String |
getCreatedBy()
The OCID of
the user who created the job.
|
String |
getDescription()
A short description of the job.
|
String |
getDisplayName()
A user-friendly display name for the job.
|
Integer |
getFailedDocuments()
Number of documents failed for prediction.
|
String |
getId()
The OCID of
the job.
|
InputConfiguration |
getInputConfiguration() |
InputLocation |
getInputLocation() |
String |
getLifecycleDetails()
A message describing the current state in more detail.
|
Job.LifecycleState |
getLifecycleState()
The current state of the Job.
|
List<ModelMetadataDetails> |
getModelMetadataDetails()
training model details For this release only one model is allowed to be input here.
|
ObjectPrefixOutputLocation |
getOutputLocation() |
Integer |
getPendingDocuments()
Number of documents still to process.
|
Integer |
getPercentComplete()
How much progress the operation has made, vs the total amount of work that must be performed.
|
Date |
getTimeAccepted()
Job accepted time.
|
Date |
getTimeCompleted()
Job finished time.
|
Date |
getTimeStarted()
Job started time.
|
Integer |
getTotalDocuments()
Total number of documents given as input for prediction.
|
Integer |
getTtlInDays()
Time to live duration in days for Job.
|
Integer |
getWarningsCount()
warnings count
|
int |
hashCode() |
Job.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
public static Job.Builder builder()
Create a new builder.
public Job.Builder toBuilder()
public String getDisplayName()
A user-friendly display name for the job.
public String getDescription()
A short description of the job.
public InputLocation getInputLocation()
public InputConfiguration getInputConfiguration()
public 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
public String getCompartmentId()
The OCID of the compartment where you want to create the job.
public Job.LifecycleState getLifecycleState()
The current state of the Job.
public 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.
public Integer getPercentComplete()
How much progress the operation has made, vs the total amount of work that must be performed.
public 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.
public Integer getPendingDocuments()
Number of documents still to process. For CSV this signifies number of rows and for TXT this signifies number of files.
public Integer getCompletedDocuments()
Number of documents processed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
public Integer getFailedDocuments()
Number of documents failed for prediction. For CSV this signifies number of rows and for TXT this signifies number of files.
public Integer getWarningsCount()
warnings count
public ObjectPrefixOutputLocation getOutputLocation()
public Integer getTtlInDays()
Time to live duration in days for Job. Job will be available till max 90 days.
public String getCreatedBy()
The OCID of the user who created the job.
public Date getTimeAccepted()
Job accepted time.
public Date getTimeStarted()
Job started time.
public Date getTimeCompleted()
Job finished time.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.