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