public class TokenLifetimePolicyReferenceRequest extends com.microsoft.graph.http.BaseReferenceRequest<TokenLifetimePolicy>
| Constructor and Description |
|---|
TokenLifetimePolicyReferenceRequest(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 |
|---|---|
TokenLifetimePolicyReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
TokenLifetimePolicy |
put(TokenLifetimePolicy srcTokenLifetimePolicy)
Puts the TokenLifetimePolicy
|
java.util.concurrent.CompletableFuture<TokenLifetimePolicy> |
putAsync(TokenLifetimePolicy srcTokenLifetimePolicy)
Puts the TokenLifetimePolicy
|
TokenLifetimePolicyReferenceRequest |
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 TokenLifetimePolicyReferenceRequest(@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 TokenLifetimePolicyReferenceRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public TokenLifetimePolicyReferenceRequest expand(@Nonnull java.lang.String value)
value - the expand clause@Nonnull public java.util.concurrent.CompletableFuture<TokenLifetimePolicy> putAsync(@Nonnull TokenLifetimePolicy srcTokenLifetimePolicy)
srcTokenLifetimePolicy - the TokenLifetimePolicy reference to PUT@Nullable public TokenLifetimePolicy put(@Nonnull TokenLifetimePolicy srcTokenLifetimePolicy) throws com.microsoft.graph.core.ClientException
srcTokenLifetimePolicy - the TokenLifetimePolicy reference to PUTcom.microsoft.graph.core.ClientException - an exception occurs if there was an error while the request was sent