Class ExchangeRestoreSessionItemRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.solutions.backuprestore.exchangerestoresessions.item.ExchangeRestoreSessionItemRequestBuilder
@Generated("com.microsoft.kiota")
public class ExchangeRestoreSessionItemRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the exchangeRestoreSessions property of the microsoft.graph.backupRestoreRoot entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classThe list of Exchange restore sessions available in the 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
ConstructorsConstructorDescriptionExchangeRestoreSessionItemRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newExchangeRestoreSessionItemRequestBuilderand sets the default values.ExchangeRestoreSessionItemRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newExchangeRestoreSessionItemRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Delete navigation property exchangeRestoreSessions for solutionsvoiddelete(Consumer<ExchangeRestoreSessionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property exchangeRestoreSessions for solutionsget()The list of Exchange restore sessions available in the tenant.get(Consumer<ExchangeRestoreSessionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of Exchange restore sessions available in the tenant.Provides operations to manage the granularMailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity.Provides operations to manage the mailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity.patch(ExchangeRestoreSession body) Update the properties of an exchangeRestoreSession.patch(ExchangeRestoreSession body, Consumer<ExchangeRestoreSessionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an exchangeRestoreSession.com.microsoft.kiota.RequestInformationDelete navigation property exchangeRestoreSessions for solutionscom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<ExchangeRestoreSessionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property exchangeRestoreSessions for solutionscom.microsoft.kiota.RequestInformationThe list of Exchange restore sessions available in the tenant.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<ExchangeRestoreSessionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of Exchange restore sessions available in the tenant.com.microsoft.kiota.RequestInformationUpdate the properties of an exchangeRestoreSession.com.microsoft.kiota.RequestInformationtoPatchRequestInformation(ExchangeRestoreSession body, Consumer<ExchangeRestoreSessionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an exchangeRestoreSession.Returns a request builder with the provided arbitrary URL.
-
Constructor Details
-
ExchangeRestoreSessionItemRequestBuilder
public ExchangeRestoreSessionItemRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newExchangeRestoreSessionItemRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
ExchangeRestoreSessionItemRequestBuilder
public ExchangeRestoreSessionItemRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newExchangeRestoreSessionItemRequestBuilderand 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
-
granularMailboxRestoreArtifacts
Provides operations to manage the granularMailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity. -
mailboxRestoreArtifacts
Provides operations to manage the mailboxRestoreArtifacts property of the microsoft.graph.exchangeRestoreSession entity.- Returns:
- a
MailboxRestoreArtifactsRequestBuilder
-
delete
public void delete()Delete navigation property exchangeRestoreSessions for solutions- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<ExchangeRestoreSessionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property exchangeRestoreSessions 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
The list of Exchange restore sessions available in the tenant.- Returns:
- a
ExchangeRestoreSession - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public ExchangeRestoreSession get(@Nullable Consumer<ExchangeRestoreSessionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of Exchange restore sessions available in the tenant.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ExchangeRestoreSession - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the properties of an exchangeRestoreSession.- Parameters:
body- The request body- Returns:
- a
ExchangeRestoreSession - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
patch
@Nullable public ExchangeRestoreSession patch(@Nonnull ExchangeRestoreSession body, @Nullable Consumer<ExchangeRestoreSessionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an exchangeRestoreSession.- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
ExchangeRestoreSession - Throws:
ODataError- When receiving a 4XX or 5XX status code- See Also:
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property exchangeRestoreSessions for solutions- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<ExchangeRestoreSessionItemRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property exchangeRestoreSessions 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()The list of Exchange restore sessions available in the tenant.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<ExchangeRestoreSessionItemRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of Exchange restore sessions available in the 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 ExchangeRestoreSession body) Update the properties of an exchangeRestoreSession.- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull ExchangeRestoreSession body, @Nullable Consumer<ExchangeRestoreSessionItemRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the properties of an exchangeRestoreSession.- 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
ExchangeRestoreSessionItemRequestBuilder
-