Class BackupSchedule

java.lang.Object
com.azure.resourcemanager.dataprotection.models.BackupSchedule

public final class BackupSchedule extends Object
BackupSchedule

Schedule for backup.

  • Constructor Details

    • BackupSchedule

      public BackupSchedule()
      Creates an instance of BackupSchedule class.
  • Method Details

    • repeatingTimeIntervals

      public List<String> repeatingTimeIntervals()
      Get the repeatingTimeIntervals property: ISO 8601 repeating time interval format.
      Returns:
      the repeatingTimeIntervals value.
    • withRepeatingTimeIntervals

      public BackupSchedule withRepeatingTimeIntervals(List<String> repeatingTimeIntervals)
      Set the repeatingTimeIntervals property: ISO 8601 repeating time interval format.
      Parameters:
      repeatingTimeIntervals - the repeatingTimeIntervals value to set.
      Returns:
      the BackupSchedule object itself.
    • timeZone

      public String timeZone()
      Get the timeZone property: Time zone for a schedule. Example: Pacific Standard Time.
      Returns:
      the timeZone value.
    • withTimeZone

      public BackupSchedule withTimeZone(String timeZone)
      Set the timeZone property: Time zone for a schedule. Example: Pacific Standard Time.
      Parameters:
      timeZone - the timeZone value to set.
      Returns:
      the BackupSchedule object itself.
    • validate

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