Package com.oracle.bmc.usageapi.model
Class CreateScheduleDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.usageapi.model.CreateScheduleDetails.Builder
-
- Enclosing class:
- CreateScheduleDetails
public static class CreateScheduleDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateScheduleDetailsbuild()CreateScheduleDetails.BuildercompartmentId(String compartmentId)The customer tenancy.CreateScheduleDetails.Buildercopy(CreateScheduleDetails model)CreateScheduleDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)Defined tags for this resource.CreateScheduleDetails.Builderdescription(String description)The description of the schedule.CreateScheduleDetails.BuilderfreeformTags(Map<String,String> freeformTags)Simple key-value pair that is applied without any predefined name, type or scope.CreateScheduleDetails.Buildername(String name)The unique name of the user-created schedule.CreateScheduleDetails.BuilderoutputFileFormat(CreateScheduleDetails.OutputFileFormat outputFileFormat)Specifies the supported output file format.CreateScheduleDetails.BuilderqueryProperties(QueryProperties queryProperties)CreateScheduleDetails.BuilderresultLocation(ResultLocation resultLocation)CreateScheduleDetails.BuildersavedReportId(String savedReportId)The saved report ID which can also be used to generate a query.CreateScheduleDetails.BuilderscheduleRecurrences(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.CreateScheduleDetails.BuildertimeScheduled(Date timeScheduled)The date and time of the first time job execution.
-
-
-
Method Detail
-
name
public CreateScheduleDetails.Builder name(String name)
The unique name of the user-created schedule.- Parameters:
name- the value to set- Returns:
- this builder
-
compartmentId
public CreateScheduleDetails.Builder compartmentId(String compartmentId)
The customer tenancy.- Parameters:
compartmentId- the value to set- Returns:
- this builder
-
description
public CreateScheduleDetails.Builder description(String description)
The description of the schedule.- Parameters:
description- the value to set- Returns:
- this builder
-
outputFileFormat
public CreateScheduleDetails.Builder outputFileFormat(CreateScheduleDetails.OutputFileFormat outputFileFormat)
Specifies the supported output file format.- Parameters:
outputFileFormat- the value to set- Returns:
- this builder
-
savedReportId
public CreateScheduleDetails.Builder savedReportId(String savedReportId)
The saved report ID which can also be used to generate a query.- Parameters:
savedReportId- the value to set- Returns:
- this builder
-
resultLocation
public CreateScheduleDetails.Builder resultLocation(ResultLocation resultLocation)
-
scheduleRecurrences
public CreateScheduleDetails.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.
- Parameters:
scheduleRecurrences- the value to set- Returns:
- this builder
-
timeScheduled
public CreateScheduleDetails.Builder timeScheduled(Date timeScheduled)
The date and time of the first time job execution.- Parameters:
timeScheduled- the value to set- Returns:
- this builder
-
queryProperties
public CreateScheduleDetails.Builder queryProperties(QueryProperties queryProperties)
-
freeformTags
public CreateScheduleDetails.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”}
- Parameters:
freeformTags- the value to set- Returns:
- this builder
-
definedTags
public CreateScheduleDetails.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”}}
- Parameters:
definedTags- the value to set- Returns:
- this builder
-
build
public CreateScheduleDetails build()
-
copy
public CreateScheduleDetails.Builder copy(CreateScheduleDetails model)
-
-