Class BackupSchedule
java.lang.Object
com.azure.resourcemanager.dataprotection.models.BackupSchedule
BackupSchedule
Schedule for backup.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the repeatingTimeIntervals property: ISO 8601 repeating time interval format.timeZone()
Get the timeZone property: Time zone for a schedule.void
validate()
Validates the instance.withRepeatingTimeIntervals
(List<String> repeatingTimeIntervals) Set the repeatingTimeIntervals property: ISO 8601 repeating time interval format.withTimeZone
(String timeZone) Set the timeZone property: Time zone for a schedule.
-
Constructor Details
-
BackupSchedule
public BackupSchedule()Creates an instance of BackupSchedule class.
-
-
Method Details
-
repeatingTimeIntervals
Get the repeatingTimeIntervals property: ISO 8601 repeating time interval format.- Returns:
- the repeatingTimeIntervals value.
-
withRepeatingTimeIntervals
Set the repeatingTimeIntervals property: ISO 8601 repeating time interval format.- Parameters:
repeatingTimeIntervals
- the repeatingTimeIntervals value to set.- Returns:
- the BackupSchedule object itself.
-
timeZone
Get the timeZone property: Time zone for a schedule. Example: Pacific Standard Time.- Returns:
- the timeZone value.
-
withTimeZone
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.
-