public static class ScheduleSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ScheduleSummary |
build() |
ScheduleSummary.Builder |
copy(ScheduleSummary model) |
ScheduleSummary.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
ScheduleSummary.Builder |
description(String description)
The description of the schedule.
|
ScheduleSummary.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
ScheduleSummary.Builder |
id(String id)
The schedule OCID.
|
ScheduleSummary.Builder |
lifecycleState(Schedule.LifecycleState lifecycleState)
The schedule summary lifecycle state.
|
ScheduleSummary.Builder |
name(String name)
The unique name of the user-created schedule.
|
ScheduleSummary.Builder |
scheduleRecurrences(String scheduleRecurrences)
Specifies the frequency according to when the schedule will be run, in the
x-obmcs-recurring-time format described in RFC 5545 section
3.3.10.
|
ScheduleSummary.Builder |
systemTags(Map<String,Map<String,Object>> systemTags)
Usage of system tag keys.
|
ScheduleSummary.Builder |
timeNextRun(Date timeNextRun)
The date and time of the next job execution.
|
ScheduleSummary.Builder |
timeScheduled(Date timeScheduled)
The date and time of the first time job execution.
|
public ScheduleSummary.Builder id(String id)
The schedule OCID.
id
- the value to setpublic ScheduleSummary.Builder name(String name)
The unique name of the user-created schedule.
name
- the value to setpublic ScheduleSummary.Builder description(String description)
The description of the schedule.
description
- the value to setpublic ScheduleSummary.Builder timeNextRun(Date timeNextRun)
The date and time of the next job execution.
timeNextRun
- the value to setpublic ScheduleSummary.Builder scheduleRecurrences(String scheduleRecurrences)
Specifies the frequency according to when the schedule will be run, in the x-obmcs-recurring-time format described in RFC 5545 section 3.3.10. Supported values are : ONE_TIME, DAILY, WEEKLY and MONTHLY.
scheduleRecurrences
- the value to setpublic ScheduleSummary.Builder timeScheduled(Date timeScheduled)
The date and time of the first time job execution.
timeScheduled
- the value to setpublic ScheduleSummary.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. See Resource
Tags. Example:
{"bar-key": "value"}
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: {"foo-namespace": {"bar-key": "value"}}
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. See Resource
Tags. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic ScheduleSummary.Builder lifecycleState(Schedule.LifecycleState lifecycleState)
The schedule summary lifecycle state.
lifecycleState
- the value to setpublic ScheduleSummary build()
public ScheduleSummary.Builder copy(ScheduleSummary model)
Copyright © 2016–2024. All rights reserved.