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