Class LegalHoldRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<LegalHold>
com.microsoft.graph.ediscovery.requests.LegalHoldRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
The class for the Legal Hold Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionLegalHoldRequestBuilder(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the LegalHold -
Method Summary
Modifier and TypeMethodDescriptionbuildRequest(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionsGets a request builder for the SiteSource collectionsiteSources(String id) Gets a request builder for the SiteSource itemGets a request builder for the UserSource collectionuserSources(String id) Gets a request builder for the UserSource itemMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
LegalHoldRequestBuilder
public LegalHoldRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the LegalHold- Parameters:
requestUrl- the request URLclient- the service clientrequestOptions- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public LegalHoldRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions- the options for this request- Returns:
- the LegalHoldRequest instance
-
buildRequest
@Nonnull public LegalHoldRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions- the options for this request- Returns:
- the LegalHoldRequest instance
-
siteSources
Gets a request builder for the SiteSource collection- Returns:
- the collection request builder
-
siteSources
Gets a request builder for the SiteSource item- Parameters:
id- the item identifier- Returns:
- the request builder
-
userSources
Gets a request builder for the UserSource collection- Returns:
- the collection request builder
-
userSources
Gets a request builder for the UserSource item- Parameters:
id- the item identifier- Returns:
- the request builder
-