Class HourlySchedule


  • public final class HourlySchedule
    extends Object
    The HourlySchedule model.
    • Constructor Detail

      • HourlySchedule

        public HourlySchedule()
    • Method Detail

      • interval

        public Integer interval()
        Get the interval property: Interval at which backup needs to be triggered. For hourly the value can be 4/6/8/12.
        Returns:
        the interval value.
      • withInterval

        public HourlySchedule withInterval​(Integer interval)
        Set the interval property: Interval at which backup needs to be triggered. For hourly the value can be 4/6/8/12.
        Parameters:
        interval - the interval value to set.
        Returns:
        the HourlySchedule object itself.
      • scheduleWindowStartTime

        public OffsetDateTime scheduleWindowStartTime()
        Get the scheduleWindowStartTime property: To specify start time of the backup window.
        Returns:
        the scheduleWindowStartTime value.
      • withScheduleWindowStartTime

        public HourlySchedule withScheduleWindowStartTime​(OffsetDateTime scheduleWindowStartTime)
        Set the scheduleWindowStartTime property: To specify start time of the backup window.
        Parameters:
        scheduleWindowStartTime - the scheduleWindowStartTime value to set.
        Returns:
        the HourlySchedule object itself.
      • scheduleWindowDuration

        public Integer scheduleWindowDuration()
        Get the scheduleWindowDuration property: To specify duration of the backup window.
        Returns:
        the scheduleWindowDuration value.
      • withScheduleWindowDuration

        public HourlySchedule withScheduleWindowDuration​(Integer scheduleWindowDuration)
        Set the scheduleWindowDuration property: To specify duration of the backup window.
        Parameters:
        scheduleWindowDuration - the scheduleWindowDuration value to set.
        Returns:
        the HourlySchedule object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.