public class MdmWindowsInformationProtectionPolicyRequest extends com.microsoft.graph.http.BaseRequest<MdmWindowsInformationProtectionPolicy>
Constructor and Description |
---|
MdmWindowsInformationProtectionPolicyRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the MdmWindowsInformationProtectionPolicy
|
Modifier and Type | Method and Description |
---|---|
MdmWindowsInformationProtectionPolicy |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<MdmWindowsInformationProtectionPolicy> |
deleteAsync()
Delete this item from the service
|
MdmWindowsInformationProtectionPolicyRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
MdmWindowsInformationProtectionPolicy |
get()
Gets the MdmWindowsInformationProtectionPolicy from the service
|
java.util.concurrent.CompletableFuture<MdmWindowsInformationProtectionPolicy> |
getAsync()
Gets the MdmWindowsInformationProtectionPolicy from the service
|
MdmWindowsInformationProtectionPolicy |
patch(MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy)
Patches this MdmWindowsInformationProtectionPolicy with a source
|
java.util.concurrent.CompletableFuture<MdmWindowsInformationProtectionPolicy> |
patchAsync(MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy)
Patches this MdmWindowsInformationProtectionPolicy with a source
|
MdmWindowsInformationProtectionPolicy |
post(MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy)
Creates a MdmWindowsInformationProtectionPolicy with a new object
|
java.util.concurrent.CompletableFuture<MdmWindowsInformationProtectionPolicy> |
postAsync(MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy)
Creates a MdmWindowsInformationProtectionPolicy with a new object
|
MdmWindowsInformationProtectionPolicy |
put(MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy)
Creates a MdmWindowsInformationProtectionPolicy with a new object
|
java.util.concurrent.CompletableFuture<MdmWindowsInformationProtectionPolicy> |
putAsync(MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy)
Creates a MdmWindowsInformationProtectionPolicy with a new object
|
MdmWindowsInformationProtectionPolicyRequest |
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 MdmWindowsInformationProtectionPolicyRequest(@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<MdmWindowsInformationProtectionPolicy> getAsync()
@Nullable public MdmWindowsInformationProtectionPolicy 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<MdmWindowsInformationProtectionPolicy> deleteAsync()
@Nullable public MdmWindowsInformationProtectionPolicy 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<MdmWindowsInformationProtectionPolicy> patchAsync(@Nonnull MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy)
sourceMdmWindowsInformationProtectionPolicy
- the source object with updates@Nullable public MdmWindowsInformationProtectionPolicy patch(@Nonnull MdmWindowsInformationProtectionPolicy sourceMdmWindowsInformationProtectionPolicy) throws com.microsoft.graph.core.ClientException
sourceMdmWindowsInformationProtectionPolicy
- 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<MdmWindowsInformationProtectionPolicy> postAsync(@Nonnull MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy)
newMdmWindowsInformationProtectionPolicy
- the new object to create@Nullable public MdmWindowsInformationProtectionPolicy post(@Nonnull MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws com.microsoft.graph.core.ClientException
newMdmWindowsInformationProtectionPolicy
- 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<MdmWindowsInformationProtectionPolicy> putAsync(@Nonnull MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy)
newMdmWindowsInformationProtectionPolicy
- the object to create/update@Nullable public MdmWindowsInformationProtectionPolicy put(@Nonnull MdmWindowsInformationProtectionPolicy newMdmWindowsInformationProtectionPolicy) throws com.microsoft.graph.core.ClientException
newMdmWindowsInformationProtectionPolicy
- the object to create/updatecom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public MdmWindowsInformationProtectionPolicyRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public MdmWindowsInformationProtectionPolicyRequest expand(@Nonnull java.lang.String value)
value
- the expand clause