@Generated(value="OracleSDKGenerator", comments="API Version: 20230831") public final class Execution extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Task Execution associated with the Job.
Note: Objects should always be created or deserialized using the Execution.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 Execution.Builder
, which maintain a
set of all explicitly set fields called Execution.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 |
Execution.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
Execution(String id,
String taskRecordId,
String stepName,
String processReferenceId,
String sequence,
List<String> subjects,
JobStatus status,
Outcome outcome,
String targetId,
Date timeStarted,
Date timeEnded,
Boolean isRollbackTask,
String description,
String resourceId,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Execution.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDescription()
Description of the Execution status.
|
String |
getId()
Unique Id associated with the task execution.
|
Boolean |
getIsRollbackTask()
Is this a rollback task?
|
Outcome |
getOutcome() |
String |
getProcessReferenceId()
Unique process-reference identifier returned by the execution client.
|
String |
getResourceId()
Resource Identifier associated with the Work Request.
|
String |
getSequence()
The sequence of the task.
|
JobStatus |
getStatus()
Status of the Task
|
String |
getStepName()
Name of the step.
|
List<String> |
getSubjects()
Subjects that are tied to the task.
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
String |
getTargetId()
Target associated with the execution.
|
String |
getTaskRecordId()
The OCID of taskRecord.
|
Date |
getTimeEnded()
The time the task ended.
|
Date |
getTimeStarted()
The time the task started.
|
int |
hashCode() |
Execution.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","taskRecordId","stepName","processReferenceId","sequence","subjects","status","outcome","targetId","timeStarted","timeEnded","isRollbackTask","description","resourceId","systemTags"}) public Execution(String id, String taskRecordId, String stepName, String processReferenceId, String sequence, List<String> subjects, JobStatus status, Outcome outcome, String targetId, Date timeStarted, Date timeEnded, Boolean isRollbackTask, String description, String resourceId, Map<String,Map<String,Object>> systemTags)
public static Execution.Builder builder()
Create a new builder.
public Execution.Builder toBuilder()
public String getId()
Unique Id associated with the task execution.
public String getTaskRecordId()
The OCID of taskRecord.
public String getStepName()
Name of the step.
public String getProcessReferenceId()
Unique process-reference identifier returned by the execution client. In some cases, this can be a runcommand OCID.
public String getSequence()
The sequence of the task.
public List<String> getSubjects()
Subjects that are tied to the task.
public JobStatus getStatus()
Status of the Task
public Outcome getOutcome()
public String getTargetId()
Target associated with the execution.
public Date getTimeStarted()
The time the task started. An RFC3339 formatted datetime string.
public Date getTimeEnded()
The time the task ended. An RFC3339 formatted datetime string.
public Boolean getIsRollbackTask()
Is this a rollback task?
public String getDescription()
Description of the Execution status. If there are any errors, this can also include a short error message.
public String getResourceId()
Resource Identifier associated with the Work Request.
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
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.