Class O365JobRequest

java.lang.Object
com.iland.core.web.rest.request.vbo.O365JobRequest
All Implemented Interfaces:
Serializable

public final class O365JobRequest extends Object implements Serializable
O365 Job Create Request.
Author:
Sachin Mittal
See Also:
  • Constructor Details

    • O365JobRequest

      public O365JobRequest(String name, String description, O365JobType backupType, boolean runNow, O365JobSchedulePolicyRequest jobSchedulePolicyRequest, List<O365JobSelectedItemRequest> o365JobSelectedItemRequests, List<O365JobSelectedItemRequest> o365JobExcludedItemRequests, Boolean excludeAllPersonalSites)
      Create a O365 job creation request.
      Parameters:
      name - the name of the backup job.
      description - the description of the backup job.
      backupType - the type of the backup job.
      runNow - whether the job will run right after it is created.
      jobSchedulePolicyRequest - the O365JobSchedulePolicyRequest
      o365JobSelectedItemRequests - the list of included items
      o365JobExcludedItemRequests - the list of excluded items
      excludeAllPersonalSites - excludes all personal sites
  • Method Details

    • getName

      public String getName()
      Specifies the name of the backup job.
      Returns:
      the name of the backup job.
    • getDescription

      public String getDescription()
      Specifies the description of the backup job.
      Returns:
      the description of the backup job.
    • getBackupType

      public O365JobType getBackupType()
      Specifies the type of the backup job.
      Returns:
      the type of the backup job.
    • isRunNow

      public boolean isRunNow()
      Get the run now flag. If set to True, the job will run right after it is created.
      Returns:
      the run now flag.
    • getJobSchedulePolicyRequest

      public O365JobSchedulePolicyRequest getJobSchedulePolicyRequest()
      Get O365 Job Schedule Policy Request Options.
      Returns:
      VBO Job Schedule Policy Request Options.
    • getO365JobSelectedItemRequests

      public List<O365JobSelectedItemRequest> getO365JobSelectedItemRequests()
      Get the O365 Job Selected Item for the backupType selectedItems.
      Returns:
      the selected items for backupType selectedItems
    • getO365JobExcludedItemRequests

      public List<O365JobSelectedItemRequest> getO365JobExcludedItemRequests()
      Get the O365 Job Excluded Items for the backupType selectedItems.
      Returns:
      the excluded items for backupType selectedItems
    • isExcludeAllPersonalSites

      public Boolean isExcludeAllPersonalSites()
      Get the O365 Job Excluded All Personal sites option for the backupType selectedItems.
      Returns:
      the exclude all personal sites optionfor backupType selectedItems