Class Recurrence
java.lang.Object
com.azure.resourcemanager.alertsmanagement.models.Recurrence
- Direct Known Subclasses:
DailyRecurrence
,MonthlyRecurrence
,WeeklyRecurrence
Recurrence object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionendTime()
Get the endTime property: End time for recurrence.Get the startTime property: Start time for recurrence.void
validate()
Validates the instance.withEndTime
(String endTime) Set the endTime property: End time for recurrence.withStartTime
(String startTime) Set the startTime property: Start time for recurrence.
-
Constructor Details
-
Recurrence
public Recurrence()
-
-
Method Details
-
startTime
Get the startTime property: Start time for recurrence.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: Start time for recurrence.- Parameters:
startTime
- the startTime value to set.- Returns:
- the Recurrence object itself.
-
endTime
Get the endTime property: End time for recurrence.- Returns:
- the endTime value.
-
withEndTime
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.
-