public static class ScheduledTaskSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScheduledTaskSummary |
build() |
ScheduledTaskSummary.Builder |
compartmentId(String compartmentId)
Compartment Identifier [OCID]
(https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
|
ScheduledTaskSummary.Builder |
copy(ScheduledTaskSummary model) |
ScheduledTaskSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ScheduledTaskSummary.Builder |
displayName(String displayName)
A user-friendly name that is changeable and that does not have to be unique.
|
ScheduledTaskSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ScheduledTaskSummary.Builder |
id(String id)
The OCID
of the data plane resource.
|
ScheduledTaskSummary.Builder |
lastExecutionStatus(ScheduledTaskSummary.LastExecutionStatus lastExecutionStatus)
The most recent task execution status.
|
ScheduledTaskSummary.Builder |
lifecycleState(ScheduledTask.LifecycleState lifecycleState)
The current state of the scheduled task.
|
ScheduledTaskSummary.Builder |
pauseReason(ScheduledTask.PauseReason pauseReason)
reason for taskStatus PAUSED.
|
ScheduledTaskSummary.Builder |
targetService(String targetService)
Target Service
|
ScheduledTaskSummary.Builder |
taskStatus(ScheduledTaskSummary.TaskStatus taskStatus)
Status of the scheduled task.
|
ScheduledTaskSummary.Builder |
taskType(TaskType taskType)
Task type.
|
ScheduledTaskSummary.Builder |
timeCreated(Date timeCreated)
The date and time the schedule task was created, in the format defined by RFC3339.
|
ScheduledTaskSummary.Builder |
timeLastExecuted(Date timeLastExecuted)
The date and time the scheduled task last executed, in the format defined by RFC3339.
|
ScheduledTaskSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the scheduled task was last updated, in the format defined by RFC3339.
|
ScheduledTaskSummary.Builder |
workRequestId(String workRequestId)
most recent Work Request Identifier [OCID]
(https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the
asynchronous request.
|
public ScheduledTaskSummary.Builder id(String id)
The OCID of the data plane resource.
id
- the value to setpublic ScheduledTaskSummary.Builder taskType(TaskType taskType)
Task type.
taskType
- the value to setpublic ScheduledTaskSummary.Builder targetService(String targetService)
Target Service
targetService
- the value to setpublic ScheduledTaskSummary.Builder compartmentId(String compartmentId)
Compartment Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm).
compartmentId
- the value to setpublic ScheduledTaskSummary.Builder timeCreated(Date timeCreated)
The date and time the schedule task was created, in the format defined by RFC3339.
timeCreated
- the value to setpublic ScheduledTaskSummary.Builder timeUpdated(Date timeUpdated)
The date and time the scheduled task was last updated, in the format defined by RFC3339.
timeUpdated
- the value to setpublic ScheduledTaskSummary.Builder lifecycleState(ScheduledTask.LifecycleState lifecycleState)
The current state of the scheduled task.
lifecycleState
- the value to setpublic ScheduledTaskSummary.Builder taskStatus(ScheduledTaskSummary.TaskStatus taskStatus)
Status of the scheduled task.
taskStatus
- the value to setpublic ScheduledTaskSummary.Builder pauseReason(ScheduledTask.PauseReason pauseReason)
reason for taskStatus PAUSED.
pauseReason
- the value to setpublic ScheduledTaskSummary.Builder workRequestId(String workRequestId)
most recent Work Request Identifier [OCID] (https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) for the asynchronous request.
workRequestId
- the value to setpublic 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.
displayName
- the value to setpublic 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"}
freeformTags
- the value to setpublic 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"}}
definedTags
- the value to setpublic ScheduledTaskSummary.Builder lastExecutionStatus(ScheduledTaskSummary.LastExecutionStatus lastExecutionStatus)
The most recent task execution status.
lastExecutionStatus
- the value to setpublic ScheduledTaskSummary.Builder timeLastExecuted(Date timeLastExecuted)
The date and time the scheduled task last executed, in the format defined by RFC3339.
timeLastExecuted
- the value to setpublic ScheduledTaskSummary build()
public ScheduledTaskSummary.Builder copy(ScheduledTaskSummary model)
Copyright © 2016–2024. All rights reserved.