java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.Recurrence
Direct Known Subclasses:
DailyRecurrence, MonthlyRecurrence, WeeklyRecurrence

public class Recurrence extends Object
Recurrence object.
  • Constructor Details

    • Recurrence

      public Recurrence()
  • Method Details

    • startTime

      public String startTime()
      Get the startTime property: Start time for recurrence.
      Returns:
      the startTime value.
    • withStartTime

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

      public String endTime()
      Get the endTime property: End time for recurrence.
      Returns:
      the endTime value.
    • withEndTime

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

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