@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class StandardTask extends ScheduledTask
Log analytics scheduled task resource.
Note: Objects should always be created or deserialized using the StandardTask.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 StandardTask.Builder
, which maintain a
set of all explicitly set fields called StandardTask.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 |
StandardTask.Builder |
static class |
StandardTask.LastExecutionStatus
The most recent task execution status.
|
ScheduledTask.Kind, ScheduledTask.LifecycleState, ScheduledTask.PauseReason, ScheduledTask.TaskStatus
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
StandardTask(String id,
String displayName,
TaskType taskType,
List<Schedule> schedules,
Action action,
ScheduledTask.TaskStatus taskStatus,
ScheduledTask.PauseReason pauseReason,
String workRequestId,
Long numOccurrences,
String compartmentId,
Date timeCreated,
Date timeUpdated,
Date timeOfNextExecution,
ScheduledTask.LifecycleState lifecycleState,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
StandardTask.LastExecutionStatus lastExecutionStatus,
Date timeLastExecuted)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static StandardTask.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
StandardTask.LastExecutionStatus |
getLastExecutionStatus()
The most recent task execution status.
|
Date |
getTimeLastExecuted()
The date and time the scheduled task last executed, in the format defined by RFC3339.
|
int |
hashCode() |
StandardTask.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getAction, getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleState, getNumOccurrences, getPauseReason, getSchedules, getTaskStatus, getTaskType, getTimeCreated, getTimeOfNextExecution, getTimeUpdated, getWorkRequestId
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated public StandardTask(String id, String displayName, TaskType taskType, List<Schedule> schedules, Action action, ScheduledTask.TaskStatus taskStatus, ScheduledTask.PauseReason pauseReason, String workRequestId, Long numOccurrences, String compartmentId, Date timeCreated, Date timeUpdated, Date timeOfNextExecution, ScheduledTask.LifecycleState lifecycleState, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, StandardTask.LastExecutionStatus lastExecutionStatus, Date timeLastExecuted)
public static StandardTask.Builder builder()
Create a new builder.
public StandardTask.Builder toBuilder()
public StandardTask.LastExecutionStatus getLastExecutionStatus()
The most recent task execution status.
public Date getTimeLastExecuted()
The date and time the scheduled task last executed, in the format defined by RFC3339.
public String toString()
toString
in class ScheduledTask
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class ScheduledTask
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class ScheduledTask
public int hashCode()
hashCode
in class ScheduledTask
Copyright © 2016–2024. All rights reserved.