Class O365JobSchedulePolicyRequest
java.lang.Object
com.iland.core.web.rest.request.vbo.O365JobSchedulePolicyRequest
- All Implemented Interfaces:
Serializable
O365 Schedule Policy Create Request.
- Author:
- Sachin Mittal
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionO365JobSchedulePolicyRequest(O365JobSchedulePolicyType type, O365JobSchedulePolicyDailyType dailyType, O365JobSchedulePolicyPeriodicallyEvery periodicallyEvery, String dailyTime, boolean retryEnabled, int retryNumber, int retryWaitInterval) Create a O365 job schedule policy modification request. -
Method Summary
Modifier and TypeMethodDescriptionSpecifies the time when the job will start.Specifies the days when the backup job will run.Specifies the time interval between the job runs.Specifies the job schedule type: Daily / Periodically.intSpecifies the number of attempts to run the backup job.intSpecifies the time intervals between the job retry attempts (minutes).booleanIf set to True, indicates that Veeam Backup for Microsoft Office 365 will attempt to restart a backup job if it fails for some reason.
-
Constructor Details
-
O365JobSchedulePolicyRequest
public O365JobSchedulePolicyRequest(O365JobSchedulePolicyType type, O365JobSchedulePolicyDailyType dailyType, O365JobSchedulePolicyPeriodicallyEvery periodicallyEvery, String dailyTime, boolean retryEnabled, int retryNumber, int retryWaitInterval) Create a O365 job schedule policy modification request.- Parameters:
type- the job schedule policy typedailyTime- the daily policy typeperiodicallyEvery- the time interval between the job runsdailyTime- the daily time of runretryEnabled- whether retry is enabledretryNumber- the retry wait time intervalretryWaitInterval- the retry wait time interval
-
-
Method Details
-
getPolicyType
Specifies the job schedule type: Daily / Periodically.- Returns:
- the job schedule policy type
-
getDailyType
Specifies the days when the backup job will run.- Returns:
- the daily policy type
-
getPeriodicallyEvery
Specifies the time interval between the job runs.- Returns:
- the time interval between the job runs.
-
getDailyTime
Specifies the time when the job will start.- Returns:
- the daily time of run
-
isRetryEnabled
public boolean isRetryEnabled()If set to True, indicates that Veeam Backup for Microsoft Office 365 will attempt to restart a backup job if it fails for some reason.- Returns:
- whether retry is enabled.
-
getRetryNumber
public int getRetryNumber()Specifies the number of attempts to run the backup job.- Returns:
- the retry number
-
getRetryWaitInterval
public int getRetryWaitInterval()Specifies the time intervals between the job retry attempts (minutes).- Returns:
- the retry wait time interval
-