@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.TaskStatus| Constructor and Description |
|---|
StandardTask(String id,
String displayName,
TaskType taskType,
List<Schedule> schedules,
Action action,
ScheduledTask.TaskStatus taskStatus,
String workRequestId,
Long numOccurrences,
String compartmentId,
Date timeCreated,
Date timeUpdated,
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.
|
protected boolean |
canEqual(Object other) |
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, getSchedules, getTaskStatus, getTaskType, getTimeCreated, getTimeUpdated, getWorkRequestId@Deprecated public StandardTask(String id, String displayName, TaskType taskType, List<Schedule> schedules, Action action, ScheduledTask.TaskStatus taskStatus, String workRequestId, Long numOccurrences, String compartmentId, Date timeCreated, Date timeUpdated, 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 ScheduledTaskpublic boolean equals(Object o)
equals in class ScheduledTaskprotected boolean canEqual(Object other)
canEqual in class ScheduledTaskpublic int hashCode()
hashCode in class ScheduledTaskCopyright © 2016–2021. All rights reserved.