public static class StandardTask.Builder extends Object
Constructor and Description |
---|
Builder() |
public StandardTask.Builder id(String id)
public StandardTask.Builder displayName(String displayName)
public StandardTask.Builder taskType(TaskType taskType)
public StandardTask.Builder schedules(List<Schedule> schedules)
public StandardTask.Builder action(Action action)
public StandardTask.Builder taskStatus(ScheduledTask.TaskStatus taskStatus)
public StandardTask.Builder pauseReason(ScheduledTask.PauseReason pauseReason)
public StandardTask.Builder workRequestId(String workRequestId)
public StandardTask.Builder numOccurrences(Long numOccurrences)
public StandardTask.Builder compartmentId(String compartmentId)
public StandardTask.Builder timeCreated(Date timeCreated)
public StandardTask.Builder timeUpdated(Date timeUpdated)
public StandardTask.Builder timeOfNextExecution(Date timeOfNextExecution)
public StandardTask.Builder lifecycleState(ScheduledTask.LifecycleState lifecycleState)
public StandardTask.Builder freeformTags(Map<String,String> freeformTags)
public StandardTask.Builder lastExecutionStatus(StandardTask.LastExecutionStatus lastExecutionStatus)
The most recent task execution status.
lastExecutionStatus
- the value to setpublic StandardTask.Builder timeLastExecuted(Date timeLastExecuted)
The date and time the scheduled task last executed, in the format defined by RFC3339.
timeLastExecuted
- the value to setpublic StandardTask build()
public StandardTask.Builder copy(StandardTask model)
Copyright © 2016–2024. All rights reserved.