Package com.oracle.bmc.datasafe.model
Class ScheduleReportDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.datasafe.model.ScheduleReportDetails.Builder
 
- 
- Enclosing class:
- ScheduleReportDetails
 
 public static class ScheduleReportDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleReportDetailsbuild()ScheduleReportDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment in which the resource should be created.ScheduleReportDetails.Buildercopy(ScheduleReportDetails model)ScheduleReportDetails.BuilderdisplayName(String displayName)The name of the report to be scheduledScheduleReportDetails.BuildermimeType(ScheduleReportDetails.MimeType mimeType)Specifies if the report will be in .xls or .pdf or .json formatScheduleReportDetails.BuilderreportDetails(ReportDetails reportDetails)ScheduleReportDetails.Builderschedule(String schedule)The schedule to generate the report periodically in the specified format:; 
 
- 
- 
- 
Method Detail- 
displayNamepublic ScheduleReportDetails.Builder displayName(String displayName) The name of the report to be scheduled- Parameters:
- displayName- the value to set
- Returns:
- this builder
 
 - 
schedulepublic ScheduleReportDetails.Builder schedule(String schedule) The schedule to generate the report periodically in the specified format:; Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) 4. can be either '*' (without quotes or a number between 1(Monday) and 7(Sunday)) No constraint introduced when it is '*'. When not, day of week must equal the given value 5. can be either '*' (without quotes or a number between 1 and 28) No constraint introduced when it is '*'. When not, day of month must equal the given value - Parameters:
- schedule- the value to set
- Returns:
- this builder
 
 - 
mimeTypepublic ScheduleReportDetails.Builder mimeType(ScheduleReportDetails.MimeType mimeType) Specifies if the report will be in .xls or .pdf or .json format- Parameters:
- mimeType- the value to set
- Returns:
- this builder
 
 - 
compartmentIdpublic ScheduleReportDetails.Builder compartmentId(String compartmentId) The OCID of the compartment in which the resource should be created.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder
 
 - 
reportDetailspublic ScheduleReportDetails.Builder reportDetails(ReportDetails reportDetails) 
 - 
buildpublic ScheduleReportDetails build() 
 - 
copypublic ScheduleReportDetails.Builder copy(ScheduleReportDetails model) 
 
- 
 
-