Class DailyRecurrence

java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.Recurrence
com.azure.resourcemanager.alertsmanagement.models.DailyRecurrence

public final class DailyRecurrence extends Recurrence
Daily recurrence object.
  • Constructor Details

    • DailyRecurrence

      public DailyRecurrence()
  • Method Details

    • withStartTime

      public DailyRecurrence withStartTime(String startTime)
      Set the startTime property: Start time for recurrence.
      Overrides:
      withStartTime in class Recurrence
      Parameters:
      startTime - the startTime value to set.
      Returns:
      the Recurrence object itself.
    • withEndTime

      public DailyRecurrence withEndTime(String endTime)
      Set the endTime property: End time for recurrence.
      Overrides:
      withEndTime in class Recurrence
      Parameters:
      endTime - the endTime value to set.
      Returns:
      the Recurrence object itself.
    • validate

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