Class BackupRestoreRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.solutions.backuprestore.BackupRestoreRequestBuilder
@Generated("com.microsoft.kiota")
public class BackupRestoreRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the backupRestore property of the microsoft.graph.solutionsRoot entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classGet the serviceStatus of the Microsoft 365 Backup Storage service in a tenant.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionBackupRestoreRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBackupRestoreRequestBuilderand sets the default values.BackupRestoreRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBackupRestoreRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property backupRestore for solutionsvoiddelete(Consumer<BackupRestoreRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property backupRestore for solutionsProvides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the driveProtectionUnits property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the driveProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity.enable()Provides operations to call the enable method.Provides operations to manage the exchangeProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the exchangeRestoreSessions property of the microsoft.graph.backupRestoreRoot entity.get()Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant.get(Consumer<BackupRestoreRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant.Provides operations to manage the mailboxInclusionRules property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the mailboxProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the oneDriveForBusinessRestoreSessions property of the microsoft.graph.backupRestoreRoot entity.patch(BackupRestoreRoot body) Update the navigation property backupRestore in solutionspatch(BackupRestoreRoot body, Consumer<BackupRestoreRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property backupRestore in solutionsProvides operations to manage the protectionPolicies property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the restorePoints property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the restoreSessions property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the serviceApps property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the sharePointProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the sharePointRestoreSessions property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the siteInclusionRules property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the siteProtectionUnits property of the microsoft.graph.backupRestoreRoot entity.Provides operations to manage the siteProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity.com.microsoft.kiota.RequestInformationDelete navigation property backupRestore for solutionscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<BackupRestoreRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property backupRestore for solutionscom.microsoft.kiota.RequestInformationGet the serviceStatus of the Microsoft 365 Backup Storage service in a tenant.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<BackupRestoreRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant.com.microsoft.kiota.RequestInformationUpdate the navigation property backupRestore in solutionscom.microsoft.kiota.RequestInformationtoPatchRequestInformation(BackupRestoreRoot body, Consumer<BackupRestoreRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property backupRestore in solutionsReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
BackupRestoreRequestBuilder
public BackupRestoreRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBackupRestoreRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
BackupRestoreRequestBuilder
public BackupRestoreRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newBackupRestoreRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
driveInclusionRules
Provides operations to manage the driveInclusionRules property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
DriveInclusionRulesRequestBuilder
-
driveProtectionUnits
Provides operations to manage the driveProtectionUnits property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
DriveProtectionUnitsRequestBuilder
-
driveProtectionUnitsBulkAdditionJobs
@Nonnull public DriveProtectionUnitsBulkAdditionJobsRequestBuilder driveProtectionUnitsBulkAdditionJobs()Provides operations to manage the driveProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. -
enable
Provides operations to call the enable method.- Returns:
- a
EnableRequestBuilder
-
exchangeProtectionPolicies
Provides operations to manage the exchangeProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
ExchangeProtectionPoliciesRequestBuilder
-
exchangeRestoreSessions
Provides operations to manage the exchangeRestoreSessions property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
ExchangeRestoreSessionsRequestBuilder
-
mailboxInclusionRules
Provides operations to manage the mailboxInclusionRules property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
MailboxInclusionRulesRequestBuilder
-
mailboxProtectionUnits
Provides operations to manage the mailboxProtectionUnits property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
MailboxProtectionUnitsRequestBuilder
-
mailboxProtectionUnitsBulkAdditionJobs
@Nonnull public MailboxProtectionUnitsBulkAdditionJobsRequestBuilder mailboxProtectionUnitsBulkAdditionJobs()Provides operations to manage the mailboxProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. -
oneDriveForBusinessProtectionPolicies
@Nonnull public OneDriveForBusinessProtectionPoliciesRequestBuilder oneDriveForBusinessProtectionPolicies()Provides operations to manage the oneDriveForBusinessProtectionPolicies property of the microsoft.graph.backupRestoreRoot entity. -
oneDriveForBusinessRestoreSessions
@Nonnull public OneDriveForBusinessRestoreSessionsRequestBuilder oneDriveForBusinessRestoreSessions()Provides operations to manage the oneDriveForBusinessRestoreSessions property of the microsoft.graph.backupRestoreRoot entity. -
protectionPolicies
Provides operations to manage the protectionPolicies property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
ProtectionPoliciesRequestBuilder
-
protectionUnits
Provides operations to manage the protectionUnits property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
ProtectionUnitsRequestBuilder
-
restorePoints
Provides operations to manage the restorePoints property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
RestorePointsRequestBuilder
-
restoreSessions
Provides operations to manage the restoreSessions property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
RestoreSessionsRequestBuilder
-
serviceApps
Provides operations to manage the serviceApps property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
ServiceAppsRequestBuilder
-
siteInclusionRules
Provides operations to manage the siteInclusionRules property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
SiteInclusionRulesRequestBuilder
-
siteProtectionUnits
Provides operations to manage the siteProtectionUnits property of the microsoft.graph.backupRestoreRoot entity.- Returns:
- a
SiteProtectionUnitsRequestBuilder
-
siteProtectionUnitsBulkAdditionJobs
@Nonnull public SiteProtectionUnitsBulkAdditionJobsRequestBuilder siteProtectionUnitsBulkAdditionJobs()Provides operations to manage the siteProtectionUnitsBulkAdditionJobs property of the microsoft.graph.backupRestoreRoot entity. -
delete
public void delete()Delete navigation property backupRestore for solutions- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<BackupRestoreRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property backupRestore for solutions- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant.- Returns:
- a
BackupRestoreRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
get
@Nullable public BackupRestoreRoot get(@Nullable Consumer<BackupRestoreRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
BackupRestoreRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
Update the navigation property backupRestore in solutions- Parameters:
body- The request body- Returns:
- a
BackupRestoreRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public BackupRestoreRoot patch(@Nonnull BackupRestoreRoot body, @Nullable Consumer<BackupRestoreRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property backupRestore in solutions- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
BackupRestoreRoot - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property backupRestore for solutions- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<BackupRestoreRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property backupRestore for solutions- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<BackupRestoreRequestBuilder.GetRequestConfiguration> requestConfiguration) Get the serviceStatus of the Microsoft 365 Backup Storage service in a tenant.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull BackupRestoreRoot body) Update the navigation property backupRestore in solutions- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull BackupRestoreRoot body, @Nullable Consumer<BackupRestoreRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property backupRestore in solutions- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
BackupRestoreRequestBuilder
-