Class SimpleSchedulePolicyV2


  • public final class SimpleSchedulePolicyV2
    extends SchedulePolicy
    The V2 policy schedule for IaaS that supports hourly backups.
    • Constructor Detail

      • SimpleSchedulePolicyV2

        public SimpleSchedulePolicyV2()
    • Method Detail

      • scheduleRunFrequency

        public ScheduleRunType scheduleRunFrequency()
        Get the scheduleRunFrequency property: Frequency of the schedule operation of this policy.
        Returns:
        the scheduleRunFrequency value.
      • withScheduleRunFrequency

        public SimpleSchedulePolicyV2 withScheduleRunFrequency​(ScheduleRunType scheduleRunFrequency)
        Set the scheduleRunFrequency property: Frequency of the schedule operation of this policy.
        Parameters:
        scheduleRunFrequency - the scheduleRunFrequency value to set.
        Returns:
        the SimpleSchedulePolicyV2 object itself.
      • hourlySchedule

        public HourlySchedule hourlySchedule()
        Get the hourlySchedule property: hourly schedule of this policy.
        Returns:
        the hourlySchedule value.
      • withHourlySchedule

        public SimpleSchedulePolicyV2 withHourlySchedule​(HourlySchedule hourlySchedule)
        Set the hourlySchedule property: hourly schedule of this policy.
        Parameters:
        hourlySchedule - the hourlySchedule value to set.
        Returns:
        the SimpleSchedulePolicyV2 object itself.
      • dailySchedule

        public DailySchedule dailySchedule()
        Get the dailySchedule property: Daily schedule of this policy.
        Returns:
        the dailySchedule value.
      • withDailySchedule

        public SimpleSchedulePolicyV2 withDailySchedule​(DailySchedule dailySchedule)
        Set the dailySchedule property: Daily schedule of this policy.
        Parameters:
        dailySchedule - the dailySchedule value to set.
        Returns:
        the SimpleSchedulePolicyV2 object itself.
      • weeklySchedule

        public WeeklySchedule weeklySchedule()
        Get the weeklySchedule property: Weekly schedule of this policy.
        Returns:
        the weeklySchedule value.
      • withWeeklySchedule

        public SimpleSchedulePolicyV2 withWeeklySchedule​(WeeklySchedule weeklySchedule)
        Set the weeklySchedule property: Weekly schedule of this policy.
        Parameters:
        weeklySchedule - the weeklySchedule value to set.
        Returns:
        the SimpleSchedulePolicyV2 object itself.