Class StandardTask
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.loganalytics.model.ScheduledTask
- 
- com.oracle.bmc.loganalytics.model.StandardTask
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200601") public final class StandardTask extends ScheduledTaskLog analytics scheduled task resource.
 Note: Objects should always be created or deserialized using theStandardTask.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 theStandardTask.Builder, which maintain a set of all explicitly set fields calledStandardTask.Builder.__explicitlySet__. ThehashCode()andequals(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).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classStandardTask.Builderstatic classStandardTask.LastExecutionStatusThe most recent task execution status.- 
Nested classes/interfaces inherited from class com.oracle.bmc.loganalytics.model.ScheduledTaskScheduledTask.Kind, ScheduledTask.LifecycleState, ScheduledTask.PauseReason, ScheduledTask.TaskStatus
 
- 
 - 
Constructor SummaryConstructors Constructor 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.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StandardTask.Builderbuilder()Create a new builder.booleanequals(Object o)StandardTask.LastExecutionStatusgetLastExecutionStatus()The most recent task execution status.DategetTimeLastExecuted()The date and time the scheduled task last executed, in the format defined by RFC3339.inthashCode()StandardTask.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.loganalytics.model.ScheduledTaskgetAction, getCompartmentId, getDefinedTags, getDisplayName, getFreeformTags, getId, getLifecycleState, getNumOccurrences, getPauseReason, getSchedules, getTaskStatus, getTaskType, getTimeCreated, getTimeOfNextExecution, getTimeUpdated, getWorkRequestId
 
- 
 
- 
- 
- 
Constructor Detail- 
StandardTask@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) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static StandardTask.Builder builder() Create a new builder.
 - 
toBuilderpublic StandardTask.Builder toBuilder() 
 - 
getLastExecutionStatuspublic StandardTask.LastExecutionStatus getLastExecutionStatus() The most recent task execution status.- Returns:
- the value
 
 - 
getTimeLastExecutedpublic Date getTimeLastExecuted() The date and time the scheduled task last executed, in the format defined by RFC3339.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- ScheduledTask
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- ScheduledTask
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- ScheduledTask
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- ScheduledTask
 
 
- 
 
-