public static class ScheduleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScheduleSummary |
build() |
ScheduleSummary.Builder |
compartmentId(String compartmentId)
The OCID
of the compartment that contains the schedule.
|
ScheduleSummary.Builder |
copy(ScheduleSummary model) |
ScheduleSummary.Builder |
createdBy(String createdBy)
The OCID
of the user who created the schedule.
|
ScheduleSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ScheduleSummary.Builder |
displayName(String displayName)
The name of the schedule.
|
ScheduleSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Free-form tags for this resource.
|
ScheduleSummary.Builder |
id(String id)
The OCID
of the schedule.
|
ScheduleSummary.Builder |
lifecycleState(ScheduleLifecycleState lifecycleState)
The current state of the schedule.
|
ScheduleSummary.Builder |
projectId(String projectId)
The OCID
of the project associated with the schedule.
|
ScheduleSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ScheduleSummary.Builder |
timeCreated(Date timeCreated)
The date and time the schedule was created.
|
ScheduleSummary.Builder |
timeUpdated(Date timeUpdated)
The date and time the schedule was updated.
|
ScheduleSummary.Builder |
trigger(ScheduleTrigger trigger) |
public ScheduleSummary.Builder id(String id)
The OCID of the schedule.
id
- the value to setpublic ScheduleSummary.Builder displayName(String displayName)
The name of the schedule.
displayName
- the value to setpublic ScheduleSummary.Builder compartmentId(String compartmentId)
The OCID of the compartment that contains the schedule.
compartmentId
- the value to setpublic ScheduleSummary.Builder projectId(String projectId)
The OCID of the project associated with the schedule.
projectId
- the value to setpublic ScheduleSummary.Builder trigger(ScheduleTrigger trigger)
public ScheduleSummary.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 ScheduleSummary.Builder timeUpdated(Date timeUpdated)
The date and time the schedule was updated. Format is defined by RFC3339. Example: 2022-08-05T01:02:29.600Z
timeUpdated
- the value to setpublic ScheduleSummary.Builder createdBy(String createdBy)
The OCID of the user who created the schedule.
createdBy
- the value to setpublic ScheduleSummary.Builder lifecycleState(ScheduleLifecycleState lifecycleState)
The current state of the schedule. Example: ACTIVE
lifecycleState
- the value to setpublic ScheduleSummary.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 ScheduleSummary.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 ScheduleSummary.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 ScheduleSummary build()
public ScheduleSummary.Builder copy(ScheduleSummary model)
Copyright © 2016–2025. All rights reserved.