Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Schedule.Builder |
action(ScheduleAction action) |
Schedule |
build() |
Schedule.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment where you want to create the schedule.
|
Schedule.Builder |
copy(Schedule model) |
Schedule.Builder |
createdBy(String createdBy)
The OCID
of the user who created the schedule.
|
Schedule.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Schedule.Builder |
description(String description)
A short description of the schedule.
|
Schedule.Builder |
displayName(String displayName)
A user-friendly display name for the resource.
|
Schedule.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
Schedule.Builder |
id(String id)
The OCID
of the schedule.
|
Schedule.Builder |
lastScheduleRunDetails(String lastScheduleRunDetails)
Details about the action performed by the last schedule execution.
|
Schedule.Builder |
lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
|
Schedule.Builder |
lifecycleState(ScheduleLifecycleState lifecycleState)
The current state of the schedule.
|
Schedule.Builder |
logDetails(ScheduleLogDetails logDetails) |
Schedule.Builder |
projectId(String projectId)
The OCID
of the project associated with the schedule.
|
Schedule.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
Schedule.Builder |
timeCreated(Date timeCreated)
The date and time the schedule was created.
|
Schedule.Builder |
timeLastScheduleRun(Date timeLastScheduleRun)
The last schedule execution time.
|
Schedule.Builder |
timeNextScheduledRun(Date timeNextScheduledRun)
The next scheduled execution time for the schedule.
|
Schedule.Builder |
timeUpdated(Date timeUpdated)
The date and time the schedule was updated.
|
Schedule.Builder |
trigger(ScheduleTrigger trigger) |
public Schedule.Builder id(String id)
The OCID of the schedule.
id
- the value to setpublic Schedule.Builder compartmentId(String compartmentId)
The OCID of the compartment where you want to create the schedule.
compartmentId
- the value to setpublic Schedule.Builder projectId(String projectId)
The OCID of the project associated with the schedule.
projectId
- the value to setpublic Schedule.Builder displayName(String displayName)
A user-friendly display name for the resource. Avoid entering confidential information.
displayName
- the value to setpublic Schedule.Builder description(String description)
A short description of the schedule.
description
- the value to setpublic Schedule.Builder timeLastScheduleRun(Date timeLastScheduleRun)
The last schedule execution time. Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z
timeLastScheduleRun
- the value to setpublic Schedule.Builder timeNextScheduledRun(Date timeNextScheduledRun)
The next scheduled execution time for the schedule. Format is defined by RFC3339.
Example: 2022-08-05T01:02:29.600Z
timeNextScheduledRun
- the value to setpublic Schedule.Builder timeCreated(Date timeCreated)
The date and time the schedule was created. Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z
timeCreated
- the value to setpublic Schedule.Builder timeUpdated(Date timeUpdated)
The date and time the schedule was updated. Format is defined by RFC3339. Example: 2022-09-05T01:02:29.600Z
timeUpdated
- the value to setpublic Schedule.Builder createdBy(String createdBy)
The OCID of the user who created the schedule.
createdBy
- the value to setpublic Schedule.Builder lifecycleState(ScheduleLifecycleState lifecycleState)
The current state of the schedule. Example: ACTIVE
lifecycleState
- the value to setpublic Schedule.Builder lifecycleDetails(String lifecycleDetails)
A message describing the current state in more detail.
lifecycleDetails
- the value to setpublic Schedule.Builder lastScheduleRunDetails(String lastScheduleRunDetails)
Details about the action performed by the last schedule execution. Example: Invoked ML Application trigger.
lastScheduleRunDetails
- the value to setpublic Schedule.Builder trigger(ScheduleTrigger trigger)
public Schedule.Builder action(ScheduleAction action)
public Schedule.Builder logDetails(ScheduleLogDetails logDetails)
public Schedule.Builder freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined
name, type, or namespace. See Resource
Tags. Example:
{"Department": "Finance"}
freeformTags
- the value to setpublic Schedule.Builder definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource. Each key is predefined and scoped to a namespace. See
Resource Tags.
Example: {"Operations": {"CostCenter": "42"}}
definedTags
- the value to setpublic Schedule.Builder systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Schedule build()
public Schedule.Builder copy(Schedule model)
Copyright © 2016–2025. All rights reserved.