@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class JobRun extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
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 JobRun.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 |
JobRun.Builder |
static class |
JobRun.RunStatus
The status of the job run.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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) |
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","name","compartmentId","jobId","jobName","managedDatabaseGroupId","managedDatabaseId","runStatus","timeSubmitted","timeUpdated"}) 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.
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.