Class LogSchedulePolicy
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.SchedulePolicy
com.azure.resourcemanager.recoveryservicesbackup.models.LogSchedulePolicy
Log policy schedule.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the scheduleFrequencyInMins property: Frequency of the log schedule operation of this policy in minutes.void
validate()
Validates the instance.withScheduleFrequencyInMins
(Integer scheduleFrequencyInMins) Set the scheduleFrequencyInMins property: Frequency of the log schedule operation of this policy in minutes.
-
Constructor Details
-
LogSchedulePolicy
public LogSchedulePolicy()Creates an instance of LogSchedulePolicy class.
-
-
Method Details
-
scheduleFrequencyInMins
Get the scheduleFrequencyInMins property: Frequency of the log schedule operation of this policy in minutes.- Returns:
- the scheduleFrequencyInMins value.
-
withScheduleFrequencyInMins
Set the scheduleFrequencyInMins property: Frequency of the log schedule operation of this policy in minutes.- Parameters:
scheduleFrequencyInMins
- the scheduleFrequencyInMins value to set.- Returns:
- the LogSchedulePolicy object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classSchedulePolicy
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-