Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Schedule |
build() |
Schedule.Builder |
compartmentId(String compartmentId)
The customer tenancy.
|
Schedule.Builder |
copy(Schedule model) |
Schedule.Builder |
definedTags(Map<String,Map<String,Object>> definedTags)
Defined tags for this resource.
|
Schedule.Builder |
description(String description)
The description of the schedule.
|
Schedule.Builder |
freeformTags(Map<String,String> freeformTags)
Simple key-value pair that is applied without any predefined name, type or scope.
|
Schedule.Builder |
id(String id)
The OCID representing a unique shedule.
|
Schedule.Builder |
lifecycleState(Schedule.LifecycleState lifecycleState)
The schedule lifecycle state.
|
Schedule.Builder |
name(String name)
The unique name of the schedule created by the user.
|
Schedule.Builder |
outputFileFormat(Schedule.OutputFileFormat outputFileFormat)
Specifies the supported output file format.
|
Schedule.Builder |
queryProperties(QueryProperties queryProperties) |
Schedule.Builder |
resultLocation(ResultLocation resultLocation) |
Schedule.Builder |
savedReportId(String savedReportId)
The saved report ID which can also be used to generate a query.
|
Schedule.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.
|
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 |
timeNextRun(Date timeNextRun)
The date and time of the next job execution.
|
Schedule.Builder |
timeScheduled(Date timeScheduled)
The date and time of the first time job execution.
|
public Schedule.Builder id(String id)
The OCID representing a unique shedule.
id
- the value to setpublic Schedule.Builder name(String name)
The unique name of the schedule created by the user.
name
- the value to setpublic Schedule.Builder compartmentId(String compartmentId)
The customer tenancy.
compartmentId
- the value to setpublic Schedule.Builder resultLocation(ResultLocation resultLocation)
public Schedule.Builder description(String description)
The description of the schedule.
description
- the value to setpublic Schedule.Builder timeNextRun(Date timeNextRun)
The date and time of the next job execution.
timeNextRun
- the value to setpublic Schedule.Builder outputFileFormat(Schedule.OutputFileFormat outputFileFormat)
Specifies the supported output file format.
outputFileFormat
- the value to setpublic Schedule.Builder savedReportId(String savedReportId)
The saved report ID which can also be used to generate a query.
savedReportId
- the value to setpublic Schedule.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 Schedule.Builder timeScheduled(Date timeScheduled)
The date and time of the first time job execution.
timeScheduled
- the value to setpublic Schedule.Builder queryProperties(QueryProperties queryProperties)
public Schedule.Builder timeCreated(Date timeCreated)
The date and time the schedule was created.
timeCreated
- the value to setpublic Schedule.Builder lifecycleState(Schedule.LifecycleState lifecycleState)
The schedule lifecycle state.
lifecycleState
- the value to setpublic Schedule.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 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: {"foo-namespace": {"bar-key": "value"}}
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. See Resource
Tags. Example:
{"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic Schedule build()
public Schedule.Builder copy(Schedule model)
Copyright © 2016–2024. All rights reserved.