public class ServicePrincipalReferenceRequest extends BaseRequest implements IServicePrincipalReferenceRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
ServicePrincipalReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the ServicePrincipal
|
| Modifier and Type | Method and Description |
|---|---|
ServicePrincipal |
delete() |
void |
delete(ICallback<? super ServicePrincipal> callback) |
IServicePrincipalReferenceRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
ServicePrincipal |
put(ServicePrincipal srcServicePrincipal)
Puts the ServicePrincipal
|
void |
put(ServicePrincipal srcServicePrincipal,
ICallback<? super ServicePrincipal> callback)
Puts the ServicePrincipal
|
IServicePrincipalReferenceRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getHttpRequest, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodpublic ServicePrincipalReferenceRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
requestUrl - the request URLclient - the service clientrequestOptions - the options for this requestpublic void delete(ICallback<? super ServicePrincipal> callback)
delete in interface IServicePrincipalReferenceRequestpublic ServicePrincipal delete() throws ClientException
delete in interface IServicePrincipalReferenceRequestClientExceptionpublic IServicePrincipalReferenceRequest select(java.lang.String value)
select in interface IServicePrincipalReferenceRequestvalue - the select clausepublic IServicePrincipalReferenceRequest expand(java.lang.String value)
expand in interface IServicePrincipalReferenceRequestvalue - the expand clausepublic void put(ServicePrincipal srcServicePrincipal, ICallback<? super ServicePrincipal> callback)
put in interface IServicePrincipalReferenceRequestsrcServicePrincipal - the ServicePrincipal reference to PUTcallback - the callback to be called after success or failurepublic ServicePrincipal put(ServicePrincipal srcServicePrincipal) throws ClientException
put in interface IServicePrincipalReferenceRequestsrcServicePrincipal - the ServicePrincipal reference to PUTClientException - an exception occurs if there was an error while the request was sent