Class LogSchedulePolicy
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.SchedulePolicy
-
- com.azure.resourcemanager.recoveryservicesbackup.models.LogSchedulePolicy
-
public final class LogSchedulePolicy extends SchedulePolicy
Log policy schedule.
-
-
Constructor Summary
Constructors Constructor Description LogSchedulePolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
scheduleFrequencyInMins()
Get the scheduleFrequencyInMins property: Frequency of the log schedule operation of this policy in minutes.void
validate()
Validates the instance.LogSchedulePolicy
withScheduleFrequencyInMins(Integer scheduleFrequencyInMins)
Set the scheduleFrequencyInMins property: Frequency of the log schedule operation of this policy in minutes.
-
-
-
Method Detail
-
scheduleFrequencyInMins
public Integer scheduleFrequencyInMins()
Get the scheduleFrequencyInMins property: Frequency of the log schedule operation of this policy in minutes.- Returns:
- the scheduleFrequencyInMins value.
-
withScheduleFrequencyInMins
public LogSchedulePolicy withScheduleFrequencyInMins(Integer scheduleFrequencyInMins)
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.
-
-