public class DomainDnsCnameRecordRequest extends BaseRequest implements IDomainDnsCnameRecordRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING| Constructor and Description |
|---|
DomainDnsCnameRecordRequest(java.lang.String requestUrl,
IBaseClient client,
java.util.List<? extends Option> requestOptions)
The request for the DomainDnsCnameRecord
|
| Modifier and Type | Method and Description |
|---|---|
void |
delete()
Delete this item from the service
|
void |
delete(ICallback<? super DomainDnsCnameRecord> callback)
Delete this item from the service
|
IDomainDnsCnameRecordRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
DomainDnsCnameRecord |
get()
Gets the DomainDnsCnameRecord from the service
|
void |
get(ICallback<? super DomainDnsCnameRecord> callback)
Gets the DomainDnsCnameRecord from the service
|
DomainDnsCnameRecord |
patch(DomainDnsCnameRecord sourceDomainDnsCnameRecord)
Patches this DomainDnsCnameRecord with a source
|
void |
patch(DomainDnsCnameRecord sourceDomainDnsCnameRecord,
ICallback<? super DomainDnsCnameRecord> callback)
Patches this DomainDnsCnameRecord with a source
|
DomainDnsCnameRecord |
post(DomainDnsCnameRecord newDomainDnsCnameRecord)
Creates a DomainDnsCnameRecord with a new object
|
void |
post(DomainDnsCnameRecord newDomainDnsCnameRecord,
ICallback<? super DomainDnsCnameRecord> callback)
Creates a DomainDnsCnameRecord with a new object
|
DomainDnsCnameRecord |
put(DomainDnsCnameRecord newDomainDnsCnameRecord)
Creates a DomainDnsCnameRecord with a new object
|
void |
put(DomainDnsCnameRecord newDomainDnsCnameRecord,
ICallback<? super DomainDnsCnameRecord> callback)
Creates a DomainDnsCnameRecord with a new object
|
IDomainDnsCnameRecordRequest |
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 DomainDnsCnameRecordRequest(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<? super DomainDnsCnameRecord> callback)
get in interface IDomainDnsCnameRecordRequestcallback - the callback to be called after success or failurepublic DomainDnsCnameRecord get() throws ClientException
get in interface IDomainDnsCnameRecordRequestClientException - this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<? super DomainDnsCnameRecord> callback)
delete in interface IDomainDnsCnameRecordRequestcallback - the callback when the deletion action has completedpublic void delete()
throws ClientException
delete in interface IDomainDnsCnameRecordRequestClientException - if there was an exception during the delete operationpublic void patch(DomainDnsCnameRecord sourceDomainDnsCnameRecord, ICallback<? super DomainDnsCnameRecord> callback)
patch in interface IDomainDnsCnameRecordRequestsourceDomainDnsCnameRecord - the source object with updatescallback - the callback to be called after success or failurepublic DomainDnsCnameRecord patch(DomainDnsCnameRecord sourceDomainDnsCnameRecord) throws ClientException
patch in interface IDomainDnsCnameRecordRequestsourceDomainDnsCnameRecord - the source object with updatesClientException - this exception occurs if the request was unable to complete for any reasonpublic void post(DomainDnsCnameRecord newDomainDnsCnameRecord, ICallback<? super DomainDnsCnameRecord> callback)
post in interface IDomainDnsCnameRecordRequestnewDomainDnsCnameRecord - the new object to createcallback - the callback to be called after success or failurepublic DomainDnsCnameRecord post(DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException
post in interface IDomainDnsCnameRecordRequestnewDomainDnsCnameRecord - the new object to createClientException - this exception occurs if the request was unable to complete for any reasonpublic void put(DomainDnsCnameRecord newDomainDnsCnameRecord, ICallback<? super DomainDnsCnameRecord> callback)
put in interface IDomainDnsCnameRecordRequestnewDomainDnsCnameRecord - the object to create/updatecallback - the callback to be called after success or failurepublic DomainDnsCnameRecord put(DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException
put in interface IDomainDnsCnameRecordRequestnewDomainDnsCnameRecord - the object to create/updateClientException - this exception occurs if the request was unable to complete for any reasonpublic IDomainDnsCnameRecordRequest select(java.lang.String value)
select in interface IDomainDnsCnameRecordRequestvalue - the select clausepublic IDomainDnsCnameRecordRequest expand(java.lang.String value)
expand in interface IDomainDnsCnameRecordRequestvalue - the expand clause