Class ScheduledTaskSummary.Builder
- java.lang.Object
- 
- com.oracle.bmc.loganalytics.model.ScheduledTaskSummary.Builder
 
- 
- Enclosing class:
- ScheduledTaskSummary
 
 public static class ScheduledTaskSummary.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduledTaskSummarybuild()ScheduledTaskSummary.BuildercompartmentId(String compartmentId)Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).ScheduledTaskSummary.Buildercopy(ScheduledTaskSummary model)ScheduledTaskSummary.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.ScheduledTaskSummary.BuilderdisplayName(String displayName)A user-friendly name that is changeable and that does not have to be unique.ScheduledTaskSummary.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.ScheduledTaskSummary.Builderid(String id)The OCID of the data plane resource.ScheduledTaskSummary.BuilderlastExecutionStatus(ScheduledTaskSummary.LastExecutionStatus lastExecutionStatus)The most recent task execution status.ScheduledTaskSummary.BuilderlifecycleState(ScheduledTask.LifecycleState lifecycleState)The current state of the scheduled task.ScheduledTaskSummary.BuilderpauseReason(ScheduledTask.PauseReason pauseReason)reason for taskStatus PAUSED.ScheduledTaskSummary.BuilderscheduleType(ScheduledTaskSummary.ScheduleType scheduleType)Type of the task scheduleScheduledTaskSummary.BuildertargetService(String targetService)Target ServiceScheduledTaskSummary.BuildertaskStatus(ScheduledTaskSummary.TaskStatus taskStatus)Status of the scheduled task.ScheduledTaskSummary.BuildertaskType(TaskType taskType)Task type.ScheduledTaskSummary.BuildertimeCreated(Date timeCreated)The date and time the schedule task was created, in the format defined by RFC3339.ScheduledTaskSummary.BuildertimeLastExecuted(Date timeLastExecuted)The date and time the scheduled task last executed, in the format defined by RFC3339.ScheduledTaskSummary.BuildertimeUpdated(Date timeUpdated)The date and time the scheduled task was last updated, in the format defined by RFC3339.ScheduledTaskSummary.BuilderworkRequestId(String workRequestId)most recent Work Request Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
 
- 
- 
- 
Method Detail- 
idpublic ScheduledTaskSummary.Builder id(String id) The OCID of the data plane resource.- Parameters:
- id- the value to set
- Returns:
- this builder
 
 - 
taskTypepublic ScheduledTaskSummary.Builder taskType(TaskType taskType) Task type.- Parameters:
- taskType- the value to set
- Returns:
- this builder
 
 - 
targetServicepublic ScheduledTaskSummary.Builder targetService(String targetService) Target Service- Parameters:
- targetService- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ScheduledTaskSummary.Builder compartmentId(String compartmentId) Compartment Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm).- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
timeCreatedpublic ScheduledTaskSummary.Builder timeCreated(Date timeCreated) The date and time the schedule task was created, in the format defined by RFC3339.- Parameters:
- timeCreated- the value to set
- Returns:
- this builder
 
 - 
timeUpdatedpublic ScheduledTaskSummary.Builder timeUpdated(Date timeUpdated) The date and time the scheduled task was last updated, in the format defined by RFC3339.- Parameters:
- timeUpdated- the value to set
- Returns:
- this builder
 
 - 
lifecycleStatepublic ScheduledTaskSummary.Builder lifecycleState(ScheduledTask.LifecycleState lifecycleState) The current state of the scheduled task.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder
 
 - 
taskStatuspublic ScheduledTaskSummary.Builder taskStatus(ScheduledTaskSummary.TaskStatus taskStatus) Status of the scheduled task.- Parameters:
- taskStatus- the value to set
- Returns:
- this builder
 
 - 
pauseReasonpublic ScheduledTaskSummary.Builder pauseReason(ScheduledTask.PauseReason pauseReason) reason for taskStatus PAUSED.- Parameters:
- pauseReason- the value to set
- Returns:
- this builder
 
 - 
workRequestIdpublic ScheduledTaskSummary.Builder workRequestId(String workRequestId) most recent Work Request Identifier [OCID] (https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.- Parameters:
- workRequestId- the value to set
- Returns:
- this builder
 
 - 
displayNamepublic ScheduledTaskSummary.Builder displayName(String displayName) A user-friendly name that is changeable and that does not have to be unique.Format: a leading alphanumeric, followed by zero or more alphanumerics, underscores, spaces, backslashes, or hyphens in any order). No trailing spaces allowed. - Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
freeformTagspublic ScheduledTaskSummary.Builder freeformTags(Map<String,String> freeformTags) Simple key-value pair that is applied without any predefined name, type or scope.Exists for cross-compatibility only. Example: {“bar-key”: “value”} - Parameters:
- freeformTags- the value to set
- Returns:
- this builder
 
 - 
definedTagspublic ScheduledTaskSummary.Builder definedTags(Map<String,Map<String,Object>> definedTags) Defined tags for this resource.Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}} - Parameters:
- definedTags- the value to set
- Returns:
- this builder
 
 - 
lastExecutionStatuspublic ScheduledTaskSummary.Builder lastExecutionStatus(ScheduledTaskSummary.LastExecutionStatus lastExecutionStatus) The most recent task execution status.- Parameters:
- lastExecutionStatus- the value to set
- Returns:
- this builder
 
 - 
timeLastExecutedpublic ScheduledTaskSummary.Builder timeLastExecuted(Date timeLastExecuted) The date and time the scheduled task last executed, in the format defined by RFC3339.- Parameters:
- timeLastExecuted- the value to set
- Returns:
- this builder
 
 - 
scheduleTypepublic ScheduledTaskSummary.Builder scheduleType(ScheduledTaskSummary.ScheduleType scheduleType) Type of the task schedule- Parameters:
- scheduleType- the value to set
- Returns:
- this builder
 
 - 
buildpublic ScheduledTaskSummary build() 
 - 
copypublic ScheduledTaskSummary.Builder copy(ScheduledTaskSummary model) 
 
- 
 
-