Recurrence Class
- java.
lang. Object - com.
azure. resourcemanager. alertsmanagement. models. Recurrence
- com.
Implements
public class Recurrence
implements JsonSerializable<Recurrence>
Recurrence object.
Constructor Summary
| Constructor | Description |
|---|---|
| Recurrence() |
Creates an instance of Recurrence class. |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
endTime()
Get the end |
| static Recurrence |
fromJson(JsonReader jsonReader)
Reads an instance of Recurrence from the Json |
|
Recurrence |
recurrenceType()
Get the recurrence |
| String |
startTime()
Get the start |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
| Recurrence |
withEndTime(String endTime)
Set the end |
| Recurrence |
withStartTime(String startTime)
Set the start |
Methods inherited from java.lang.Object
Constructor Details
Recurrence
public Recurrence()
Creates an instance of Recurrence class.
Method Details
endTime
public String endTime()
Get the endTime property: End time for recurrence.
Returns:
fromJson
public static Recurrence fromJson(JsonReader jsonReader)
Reads an instance of Recurrence from the JsonReader.
Parameters:
Returns:
Throws:
recurrenceType
public RecurrenceType recurrenceType()
Get the recurrenceType property: Specifies when the recurrence should be applied.
Returns:
startTime
public String startTime()
Get the startTime property: Start time for recurrence.
Returns:
toJson
validate
public void validate()
Validates the instance.
withEndTime
public Recurrence withEndTime(String endTime)
Set the endTime property: End time for recurrence.
Parameters:
Returns:
withStartTime
public Recurrence withStartTime(String startTime)
Set the startTime property: Start time for recurrence.
Parameters:
Returns: