@Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class StandardTask extends ScheduledTask
Log analytics scheduled task resource.
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
__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 |
StandardTask.Builder |
static class |
StandardTask.LastExecutionStatus
The most recent task execution status.
|
ScheduledTask.Kind, ScheduledTask.LifecycleState, ScheduledTask.PauseReason, ScheduledTask.TaskStatus
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) |
Set<String> |
get__explicitlySet__() |
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() |
getAction, getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleState, getNumOccurrences, getPauseReason, getSchedules, getTaskStatus, getTaskType, getTimeCreated, getTimeOfNextExecution, getTimeUpdated, getWorkRequestId
@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 boolean equals(Object o)
equals
in class ScheduledTask
public int hashCode()
hashCode
in class ScheduledTask
Copyright © 2016–2022. All rights reserved.