@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class JobExecution extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of a job execution.
Note: Objects should always be created or deserialized using the JobExecution.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 JobExecution.Builder
, which maintain a
set of all explicitly set fields called JobExecution.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 |
JobExecution.Builder |
static class |
JobExecution.Status
The status of the job execution.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
JobExecution(String id,
String name,
String compartmentId,
String managedDatabaseGroupId,
String managedDatabaseId,
String managedDatabaseName,
DatabaseType databaseType,
DatabaseSubType databaseSubType,
DeploymentType deploymentType,
Boolean isCluster,
WorkloadType workloadType,
String jobId,
String jobName,
String jobRunId,
JobExecution.Status status,
String errorMessage,
JobExecutionResultDetails resultDetails,
Date timeCreated,
Date timeCompleted,
String userName,
String sqlText,
JobInBindsDetails inBinds,
JobOutBindsDetails outBinds,
JobScheduleDetails scheduleDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static JobExecution.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the
compartment in which the parent job resides.
|
DatabaseSubType |
getDatabaseSubType()
The subtype of the Oracle Database.
|
DatabaseType |
getDatabaseType()
The type of Oracle Database installation.
|
DeploymentType |
getDeploymentType()
A list of the supported infrastructure that can be used to deploy the database.
|
String |
getErrorMessage()
The error message that is returned if the job execution fails.
|
String |
getId()
The identifier of the job execution.
|
JobInBindsDetails |
getInBinds() |
Boolean |
getIsCluster()
Indicates whether the Oracle Database is part of a cluster.
|
String |
getJobId()
The OCID of the
parent job.
|
String |
getJobName()
The name of the parent job.
|
String |
getJobRunId()
The identifier of the associated job run.
|
String |
getManagedDatabaseGroupId()
The OCID of the
Managed Database Group where the parent job has to be executed.
|
String |
getManagedDatabaseId()
The OCID of the
Managed Database associated with the job execution.
|
String |
getManagedDatabaseName()
The name of the Managed Database associated with the job execution.
|
String |
getName()
The name of the job execution.
|
JobOutBindsDetails |
getOutBinds() |
JobExecutionResultDetails |
getResultDetails() |
JobScheduleDetails |
getScheduleDetails() |
String |
getSqlText()
The SQL text executed as part of the job.
|
JobExecution.Status |
getStatus()
The status of the job execution.
|
Date |
getTimeCompleted()
The date and time when the job execution completed.
|
Date |
getTimeCreated()
The date and time when the job execution was created.
|
String |
getUserName()
The database user name used to execute the SQL job.
|
WorkloadType |
getWorkloadType()
The workload type of the Autonomous Database.
|
int |
hashCode() |
JobExecution.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","name","compartmentId","managedDatabaseGroupId","managedDatabaseId","managedDatabaseName","databaseType","databaseSubType","deploymentType","isCluster","workloadType","jobId","jobName","jobRunId","status","errorMessage","resultDetails","timeCreated","timeCompleted","userName","sqlText","inBinds","outBinds","scheduleDetails"}) public JobExecution(String id, String name, String compartmentId, String managedDatabaseGroupId, String managedDatabaseId, String managedDatabaseName, DatabaseType databaseType, DatabaseSubType databaseSubType, DeploymentType deploymentType, Boolean isCluster, WorkloadType workloadType, String jobId, String jobName, String jobRunId, JobExecution.Status status, String errorMessage, JobExecutionResultDetails resultDetails, Date timeCreated, Date timeCompleted, String userName, String sqlText, JobInBindsDetails inBinds, JobOutBindsDetails outBinds, JobScheduleDetails scheduleDetails)
public static JobExecution.Builder builder()
Create a new builder.
public JobExecution.Builder toBuilder()
public String getId()
The identifier of the job execution.
public String getName()
The name of the job execution.
public String getCompartmentId()
The OCID of the compartment in which the parent job resides.
public String getManagedDatabaseGroupId()
The OCID of the Managed Database Group where the parent job has to be executed.
public String getManagedDatabaseId()
The OCID of the Managed Database associated with the job execution.
public String getManagedDatabaseName()
The name of the Managed Database associated with the job execution.
public DatabaseType getDatabaseType()
The type of Oracle Database installation.
public DatabaseSubType getDatabaseSubType()
The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database.
public DeploymentType getDeploymentType()
A list of the supported infrastructure that can be used to deploy the database.
public Boolean getIsCluster()
Indicates whether the Oracle Database is part of a cluster.
public WorkloadType getWorkloadType()
The workload type of the Autonomous Database.
public String getJobName()
The name of the parent job.
public String getJobRunId()
The identifier of the associated job run.
public JobExecution.Status getStatus()
The status of the job execution.
public String getErrorMessage()
The error message that is returned if the job execution fails. Null is returned if the job is still running or if the job execution is successful.
public JobExecutionResultDetails getResultDetails()
public Date getTimeCreated()
The date and time when the job execution was created.
public Date getTimeCompleted()
The date and time when the job execution completed.
public String getUserName()
The database user name used to execute the SQL job.
public String getSqlText()
The SQL text executed as part of the job.
public JobInBindsDetails getInBinds()
public JobOutBindsDetails getOutBinds()
public JobScheduleDetails getScheduleDetails()
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.