Class ScheduleReportDetails.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • 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
      • 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
      • isPaginationEnabled

        public ScheduleReportDetails.Builder isPaginationEnabled​(Boolean isPaginationEnabled)
        Indicates if the reports being generated should be paginated.

        If set to true, multiple reports can be generated and the details of next and previous report are present in Report. Values can either be ‘true’ or ‘false’.

        Parameters:
        isPaginationEnabled - the value to set
        Returns:
        this builder