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 Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ScheduleReportDetails
build()
ScheduleReportDetails.Builder
compartmentId(String compartmentId)
The OCID of the compartment in which the resource should be created.ScheduleReportDetails.Builder
copy(ScheduleReportDetails model)
ScheduleReportDetails.Builder
displayName(String displayName)
The name of the report to be scheduledScheduleReportDetails.Builder
mimeType(ScheduleReportDetails.MimeType mimeType)
Specifies if the report will be in .xls or .pdf or .json formatScheduleReportDetails.Builder
reportDetails(ReportDetails reportDetails)
ScheduleReportDetails.Builder
schedule(String schedule)
The schedule to generate the report periodically in the specified format:;
-
-
-
Method Detail
-
displayName
public ScheduleReportDetails.Builder displayName(String displayName)
The name of the report to be scheduled- Parameters:
displayName
- the value to set- Returns:
- this builder
-
schedule
public 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
-
mimeType
public 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
-
compartmentId
public 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
-
reportDetails
public ScheduleReportDetails.Builder reportDetails(ReportDetails reportDetails)
-
build
public ScheduleReportDetails build()
-
copy
public ScheduleReportDetails.Builder copy(ScheduleReportDetails model)
-
-