@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class JobRun extends Object
The details of a specific job run.
Note: Objects should always be created or deserialized using the JobRun.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 JobRun.Builder
, which maintain a set of all explicitly set fields called
__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
__explicitlySet__
into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
JobRun.Builder |
static class |
JobRun.RunStatus
The status of the job run.
|
Constructor and Description |
---|
JobRun(String id,
String name,
String compartmentId,
String jobId,
String jobName,
String managedDatabaseGroupId,
String managedDatabaseId,
JobRun.RunStatus runStatus,
Date timeSubmitted,
Date timeUpdated)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JobRun.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the compartment in which the parent job resides.
|
String |
getId()
The identifier of the job run.
|
String |
getJobId()
The OCID of the parent job.
|
String |
getJobName()
The name of the parent job.
|
String |
getManagedDatabaseGroupId()
The OCID of the Managed Database Group where the parent job has to be executed.
|
String |
getManagedDatabaseId()
The OCID of Managed Database where the parent job has to be executed.
|
String |
getName()
The name of the job run.
|
JobRun.RunStatus |
getRunStatus()
The status of the job run.
|
Date |
getTimeSubmitted()
The date and time when the job run was submitted.
|
Date |
getTimeUpdated()
The date and time when the job run was last updated.
|
int |
hashCode() |
JobRun.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","name","compartmentId","jobId","jobName","managedDatabaseGroupId","managedDatabaseId","runStatus","timeSubmitted","timeUpdated"}) @Deprecated public JobRun(String id, String name, String compartmentId, String jobId, String jobName, String managedDatabaseGroupId, String managedDatabaseId, JobRun.RunStatus runStatus, Date timeSubmitted, Date timeUpdated)
public static JobRun.Builder builder()
Create a new builder.
public JobRun.Builder toBuilder()
public String getId()
The identifier of the job run.
public String getName()
The name of the job run.
public String getCompartmentId()
The OCID of the compartment in which the parent job resides.
public String getJobName()
The name of the parent job.
public String getManagedDatabaseGroupId()
The OCID of the Managed Database Group where the parent job has to be executed.
public String getManagedDatabaseId()
The OCID of Managed Database where the parent job has to be executed.
public JobRun.RunStatus getRunStatus()
The status of the job run.
public Date getTimeSubmitted()
The date and time when the job run was submitted.
public Date getTimeUpdated()
The date and time when the job run was last updated.
Copyright © 2016–2022. All rights reserved.