Class BackupRestoreRoot

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BackupRestoreRoot
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class BackupRestoreRoot extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • BackupRestoreRoot

      public BackupRestoreRoot()
      Instantiates a new BackupRestoreRoot and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static BackupRestoreRoot createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a BackupRestoreRoot
    • getDriveInclusionRules

      @Nullable public List<DriveProtectionRule> getDriveInclusionRules()
      Gets the driveInclusionRules property value. The list of drive inclusion rules applied to the tenant.
      Returns:
      a List<DriveProtectionRule>
    • getDriveProtectionUnits

      @Nullable public List<DriveProtectionUnit> getDriveProtectionUnits()
      Gets the driveProtectionUnits property value. The list of drive protection units in the tenant.
      Returns:
      a List<DriveProtectionUnit>
    • getExchangeProtectionPolicies

      @Nullable public List<ExchangeProtectionPolicy> getExchangeProtectionPolicies()
      Gets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant.
      Returns:
      a List<ExchangeProtectionPolicy>
    • getExchangeRestoreSessions

      @Nullable public List<ExchangeRestoreSession> getExchangeRestoreSessions()
      Gets the exchangeRestoreSessions property value. The list of Exchange restore sessions available in the tenant.
      Returns:
      a List<ExchangeRestoreSession>
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getMailboxInclusionRules

      @Nullable public List<MailboxProtectionRule> getMailboxInclusionRules()
      Gets the mailboxInclusionRules property value. The list of mailbox inclusion rules applied to the tenant.
      Returns:
      a List<MailboxProtectionRule>
    • getMailboxProtectionUnits

      @Nullable public List<MailboxProtectionUnit> getMailboxProtectionUnits()
      Gets the mailboxProtectionUnits property value. The list of mailbox protection units in the tenant.
      Returns:
      a List<MailboxProtectionUnit>
    • getOneDriveForBusinessProtectionPolicies

      @Nullable public List<OneDriveForBusinessProtectionPolicy> getOneDriveForBusinessProtectionPolicies()
      Gets the oneDriveForBusinessProtectionPolicies property value. The list of OneDrive for Business protection policies in the tenant.
      Returns:
      a List<OneDriveForBusinessProtectionPolicy>
    • getOneDriveForBusinessRestoreSessions

      @Nullable public List<OneDriveForBusinessRestoreSession> getOneDriveForBusinessRestoreSessions()
      Gets the oneDriveForBusinessRestoreSessions property value. The list of OneDrive for Business restore sessions available in the tenant.
      Returns:
      a List<OneDriveForBusinessRestoreSession>
    • getProtectionPolicies

      @Nullable public List<ProtectionPolicyBase> getProtectionPolicies()
      Gets the protectionPolicies property value. List of protection policies in the tenant.
      Returns:
      a List<ProtectionPolicyBase>
    • getProtectionUnits

      @Nullable public List<ProtectionUnitBase> getProtectionUnits()
      Gets the protectionUnits property value. List of protection units in the tenant.
      Returns:
      a List<ProtectionUnitBase>
    • getRestorePoints

      @Nullable public List<RestorePoint> getRestorePoints()
      Gets the restorePoints property value. List of restore points in the tenant.
      Returns:
      a List<RestorePoint>
    • getRestoreSessions

      @Nullable public List<RestoreSessionBase> getRestoreSessions()
      Gets the restoreSessions property value. List of restore sessions in the tenant.
      Returns:
      a List<RestoreSessionBase>
    • getServiceApps

      @Nullable public List<ServiceApp> getServiceApps()
      Gets the serviceApps property value. List of Backup Storage apps in the tenant.
      Returns:
      a List<ServiceApp>
    • getServiceStatus

      @Nullable public ServiceStatus getServiceStatus()
      Gets the serviceStatus property value. Represents the tenant-level status of the Backup Storage service.
      Returns:
      a ServiceStatus
    • getSharePointProtectionPolicies

      @Nullable public List<SharePointProtectionPolicy> getSharePointProtectionPolicies()
      Gets the sharePointProtectionPolicies property value. The list of SharePoint protection policies in the tenant.
      Returns:
      a List<SharePointProtectionPolicy>
    • getSharePointRestoreSessions

      @Nullable public List<SharePointRestoreSession> getSharePointRestoreSessions()
      Gets the sharePointRestoreSessions property value. The list of SharePoint restore sessions available in the tenant.
      Returns:
      a List<SharePointRestoreSession>
    • getSiteInclusionRules

      @Nullable public List<SiteProtectionRule> getSiteInclusionRules()
      Gets the siteInclusionRules property value. The list of site inclusion rules applied to the tenant.
      Returns:
      a List<SiteProtectionRule>
    • getSiteProtectionUnits

      @Nullable public List<SiteProtectionUnit> getSiteProtectionUnits()
      Gets the siteProtectionUnits property value. The list of site protection units in the tenant.
      Returns:
      a List<SiteProtectionUnit>
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setDriveInclusionRules

      public void setDriveInclusionRules(@Nullable List<DriveProtectionRule> value)
      Sets the driveInclusionRules property value. The list of drive inclusion rules applied to the tenant.
      Parameters:
      value - Value to set for the driveInclusionRules property.
    • setDriveProtectionUnits

      public void setDriveProtectionUnits(@Nullable List<DriveProtectionUnit> value)
      Sets the driveProtectionUnits property value. The list of drive protection units in the tenant.
      Parameters:
      value - Value to set for the driveProtectionUnits property.
    • setExchangeProtectionPolicies

      public void setExchangeProtectionPolicies(@Nullable List<ExchangeProtectionPolicy> value)
      Sets the exchangeProtectionPolicies property value. The list of Exchange protection policies in the tenant.
      Parameters:
      value - Value to set for the exchangeProtectionPolicies property.
    • setExchangeRestoreSessions

      public void setExchangeRestoreSessions(@Nullable List<ExchangeRestoreSession> value)
      Sets the exchangeRestoreSessions property value. The list of Exchange restore sessions available in the tenant.
      Parameters:
      value - Value to set for the exchangeRestoreSessions property.
    • setMailboxInclusionRules

      public void setMailboxInclusionRules(@Nullable List<MailboxProtectionRule> value)
      Sets the mailboxInclusionRules property value. The list of mailbox inclusion rules applied to the tenant.
      Parameters:
      value - Value to set for the mailboxInclusionRules property.
    • setMailboxProtectionUnits

      public void setMailboxProtectionUnits(@Nullable List<MailboxProtectionUnit> value)
      Sets the mailboxProtectionUnits property value. The list of mailbox protection units in the tenant.
      Parameters:
      value - Value to set for the mailboxProtectionUnits property.
    • setOneDriveForBusinessProtectionPolicies

      public void setOneDriveForBusinessProtectionPolicies(@Nullable List<OneDriveForBusinessProtectionPolicy> value)
      Sets the oneDriveForBusinessProtectionPolicies property value. The list of OneDrive for Business protection policies in the tenant.
      Parameters:
      value - Value to set for the oneDriveForBusinessProtectionPolicies property.
    • setOneDriveForBusinessRestoreSessions

      public void setOneDriveForBusinessRestoreSessions(@Nullable List<OneDriveForBusinessRestoreSession> value)
      Sets the oneDriveForBusinessRestoreSessions property value. The list of OneDrive for Business restore sessions available in the tenant.
      Parameters:
      value - Value to set for the oneDriveForBusinessRestoreSessions property.
    • setProtectionPolicies

      public void setProtectionPolicies(@Nullable List<ProtectionPolicyBase> value)
      Sets the protectionPolicies property value. List of protection policies in the tenant.
      Parameters:
      value - Value to set for the protectionPolicies property.
    • setProtectionUnits

      public void setProtectionUnits(@Nullable List<ProtectionUnitBase> value)
      Sets the protectionUnits property value. List of protection units in the tenant.
      Parameters:
      value - Value to set for the protectionUnits property.
    • setRestorePoints

      public void setRestorePoints(@Nullable List<RestorePoint> value)
      Sets the restorePoints property value. List of restore points in the tenant.
      Parameters:
      value - Value to set for the restorePoints property.
    • setRestoreSessions

      public void setRestoreSessions(@Nullable List<RestoreSessionBase> value)
      Sets the restoreSessions property value. List of restore sessions in the tenant.
      Parameters:
      value - Value to set for the restoreSessions property.
    • setServiceApps

      public void setServiceApps(@Nullable List<ServiceApp> value)
      Sets the serviceApps property value. List of Backup Storage apps in the tenant.
      Parameters:
      value - Value to set for the serviceApps property.
    • setServiceStatus

      public void setServiceStatus(@Nullable ServiceStatus value)
      Sets the serviceStatus property value. Represents the tenant-level status of the Backup Storage service.
      Parameters:
      value - Value to set for the serviceStatus property.
    • setSharePointProtectionPolicies

      public void setSharePointProtectionPolicies(@Nullable List<SharePointProtectionPolicy> value)
      Sets the sharePointProtectionPolicies property value. The list of SharePoint protection policies in the tenant.
      Parameters:
      value - Value to set for the sharePointProtectionPolicies property.
    • setSharePointRestoreSessions

      public void setSharePointRestoreSessions(@Nullable List<SharePointRestoreSession> value)
      Sets the sharePointRestoreSessions property value. The list of SharePoint restore sessions available in the tenant.
      Parameters:
      value - Value to set for the sharePointRestoreSessions property.
    • setSiteInclusionRules

      public void setSiteInclusionRules(@Nullable List<SiteProtectionRule> value)
      Sets the siteInclusionRules property value. The list of site inclusion rules applied to the tenant.
      Parameters:
      value - Value to set for the siteInclusionRules property.
    • setSiteProtectionUnits

      public void setSiteProtectionUnits(@Nullable List<SiteProtectionUnit> value)
      Sets the siteProtectionUnits property value. The list of site protection units in the tenant.
      Parameters:
      value - Value to set for the siteProtectionUnits property.