public class WindowsDefenderAdvancedThreatProtectionConfigurationRequest extends BaseRequest implements IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
Constructor and Description |
---|
WindowsDefenderAdvancedThreatProtectionConfigurationRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the WindowsDefenderAdvancedThreatProtectionConfiguration
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<WindowsDefenderAdvancedThreatProtectionConfiguration> callback)
Delete this item from the service
|
IWindowsDefenderAdvancedThreatProtectionConfigurationRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
WindowsDefenderAdvancedThreatProtectionConfiguration |
get()
Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service
|
void |
get(ICallback<WindowsDefenderAdvancedThreatProtectionConfiguration> callback)
Gets the WindowsDefenderAdvancedThreatProtectionConfiguration from the service
|
WindowsDefenderAdvancedThreatProtectionConfiguration |
patch(WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration)
Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source
|
void |
patch(WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration,
ICallback<WindowsDefenderAdvancedThreatProtectionConfiguration> callback)
Patches this WindowsDefenderAdvancedThreatProtectionConfiguration with a source
|
WindowsDefenderAdvancedThreatProtectionConfiguration |
post(WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration)
Creates a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object
|
void |
post(WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration,
ICallback<WindowsDefenderAdvancedThreatProtectionConfiguration> callback)
Creates a WindowsDefenderAdvancedThreatProtectionConfiguration with a new object
|
IWindowsDefenderAdvancedThreatProtectionConfigurationRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addFunctionOption, addHeader, addQueryOption, getClient, getFunctionOptions, getHeaders, getHttpMethod, getOptions, getQueryOptions, getRequestUrl, getResponseType, getUseCaches, send, send, setHttpMethod, setUseCaches
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getHeaders, getHttpMethod, getOptions, getRequestUrl, getUseCaches, setUseCaches
public WindowsDefenderAdvancedThreatProtectionConfigurationRequest(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 get(ICallback<WindowsDefenderAdvancedThreatProtectionConfiguration> callback)
get
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
callback
- the callback to be called after success or failurepublic WindowsDefenderAdvancedThreatProtectionConfiguration get() throws ClientException
get
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
ClientException
- this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<WindowsDefenderAdvancedThreatProtectionConfiguration> callback)
delete
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
callback
- the callback when the deletion action has completedpublic void delete() throws ClientException
delete
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
ClientException
- if there was an exception during the delete operationpublic void patch(WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration, ICallback<WindowsDefenderAdvancedThreatProtectionConfiguration> callback)
patch
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
sourceWindowsDefenderAdvancedThreatProtectionConfiguration
- the source object with updatescallback
- the callback to be called after success or failurepublic WindowsDefenderAdvancedThreatProtectionConfiguration patch(WindowsDefenderAdvancedThreatProtectionConfiguration sourceWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException
patch
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
sourceWindowsDefenderAdvancedThreatProtectionConfiguration
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonpublic void post(WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration, ICallback<WindowsDefenderAdvancedThreatProtectionConfiguration> callback)
post
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
newWindowsDefenderAdvancedThreatProtectionConfiguration
- the new object to createcallback
- the callback to be called after success or failurepublic WindowsDefenderAdvancedThreatProtectionConfiguration post(WindowsDefenderAdvancedThreatProtectionConfiguration newWindowsDefenderAdvancedThreatProtectionConfiguration) throws ClientException
post
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
newWindowsDefenderAdvancedThreatProtectionConfiguration
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonpublic IWindowsDefenderAdvancedThreatProtectionConfigurationRequest select(java.lang.String value)
select
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
value
- the select clausepublic IWindowsDefenderAdvancedThreatProtectionConfigurationRequest expand(java.lang.String value)
expand
in interface IWindowsDefenderAdvancedThreatProtectionConfigurationRequest
value
- the expand clause