public class WindowsInformationProtectionPolicyRequest extends com.microsoft.graph.http.BaseRequest<WindowsInformationProtectionPolicy>
Constructor and Description |
---|
WindowsInformationProtectionPolicyRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the WindowsInformationProtectionPolicy
|
Modifier and Type | Method and Description |
---|---|
WindowsInformationProtectionPolicy |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> |
deleteAsync()
Delete this item from the service
|
WindowsInformationProtectionPolicyRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WindowsInformationProtectionPolicy |
get()
Gets the WindowsInformationProtectionPolicy from the service
|
java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> |
getAsync()
Gets the WindowsInformationProtectionPolicy from the service
|
WindowsInformationProtectionPolicy |
patch(WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy)
Patches this WindowsInformationProtectionPolicy with a source
|
java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> |
patchAsync(WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy)
Patches this WindowsInformationProtectionPolicy with a source
|
WindowsInformationProtectionPolicy |
post(WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy)
Creates a WindowsInformationProtectionPolicy with a new object
|
java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> |
postAsync(WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy)
Creates a WindowsInformationProtectionPolicy with a new object
|
WindowsInformationProtectionPolicy |
put(WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy)
Creates a WindowsInformationProtectionPolicy with a new object
|
java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> |
putAsync(WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy)
Creates a WindowsInformationProtectionPolicy with a new object
|
WindowsInformationProtectionPolicyRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public WindowsInformationProtectionPolicyRequest(@Nonnull java.lang.String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request@Nonnull public java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> getAsync()
@Nullable public WindowsInformationProtectionPolicy get() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> deleteAsync()
@Nullable public WindowsInformationProtectionPolicy delete() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- if there was an exception during the delete operation@Nonnull public java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> patchAsync(@Nonnull WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy)
sourceWindowsInformationProtectionPolicy
- the source object with updates@Nullable public WindowsInformationProtectionPolicy patch(@Nonnull WindowsInformationProtectionPolicy sourceWindowsInformationProtectionPolicy) throws com.microsoft.graph.core.ClientException
sourceWindowsInformationProtectionPolicy
- the source object with updatescom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> postAsync(@Nonnull WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy)
newWindowsInformationProtectionPolicy
- the new object to create@Nullable public WindowsInformationProtectionPolicy post(@Nonnull WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws com.microsoft.graph.core.ClientException
newWindowsInformationProtectionPolicy
- the new object to createcom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<WindowsInformationProtectionPolicy> putAsync(@Nonnull WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy)
newWindowsInformationProtectionPolicy
- the object to create/update@Nullable public WindowsInformationProtectionPolicy put(@Nonnull WindowsInformationProtectionPolicy newWindowsInformationProtectionPolicy) throws com.microsoft.graph.core.ClientException
newWindowsInformationProtectionPolicy
- the object to create/updatecom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public WindowsInformationProtectionPolicyRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public WindowsInformationProtectionPolicyRequest expand(@Nonnull java.lang.String value)
value
- the expand clause