Class ScheduledTaskSummary.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.model.ScheduledTaskSummary.Builder
-
- Enclosing class:
- ScheduledTaskSummary
public static class ScheduledTaskSummary.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All 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
-
id
public ScheduledTaskSummary.Builder id(String id)
The OCID of the data plane resource.- Parameters:
id- the value to set- Returns:
- this builder
-
taskType
public ScheduledTaskSummary.Builder taskType(TaskType taskType)
Task type.- Parameters:
taskType- the value to set- Returns:
- this builder
-
targetService
public ScheduledTaskSummary.Builder targetService(String targetService)
Target Service- Parameters:
targetService- the value to set- Returns:
- this builder
-
compartmentId
public 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
-
timeCreated
public 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
-
timeUpdated
public 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
-
lifecycleState
public ScheduledTaskSummary.Builder lifecycleState(ScheduledTask.LifecycleState lifecycleState)
The current state of the scheduled task.- Parameters:
lifecycleState- the value to set- Returns:
- this builder
-
taskStatus
public ScheduledTaskSummary.Builder taskStatus(ScheduledTaskSummary.TaskStatus taskStatus)
Status of the scheduled task.- Parameters:
taskStatus- the value to set- Returns:
- this builder
-
pauseReason
public ScheduledTaskSummary.Builder pauseReason(ScheduledTask.PauseReason pauseReason)
reason for taskStatus PAUSED.- Parameters:
pauseReason- the value to set- Returns:
- this builder
-
workRequestId
public 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
-
displayName
public 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
-
freeformTags
public 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
-
definedTags
public 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
-
lastExecutionStatus
public ScheduledTaskSummary.Builder lastExecutionStatus(ScheduledTaskSummary.LastExecutionStatus lastExecutionStatus)
The most recent task execution status.- Parameters:
lastExecutionStatus- the value to set- Returns:
- this builder
-
timeLastExecuted
public 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
-
scheduleType
public ScheduledTaskSummary.Builder scheduleType(ScheduledTaskSummary.ScheduleType scheduleType)
Type of the task schedule- Parameters:
scheduleType- the value to set- Returns:
- this builder
-
build
public ScheduledTaskSummary build()
-
copy
public ScheduledTaskSummary.Builder copy(ScheduledTaskSummary model)
-
-