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