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<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<DomainDnsCnameRecord> callback)
Gets the DomainDnsCnameRecord from the service
|
DomainDnsCnameRecord |
patch(DomainDnsCnameRecord sourceDomainDnsCnameRecord)
Patches this DomainDnsCnameRecord with a source
|
void |
patch(DomainDnsCnameRecord sourceDomainDnsCnameRecord,
ICallback<DomainDnsCnameRecord> callback)
Patches this DomainDnsCnameRecord with a source
|
DomainDnsCnameRecord |
post(DomainDnsCnameRecord newDomainDnsCnameRecord)
Creates a DomainDnsCnameRecord with a new object
|
void |
post(DomainDnsCnameRecord newDomainDnsCnameRecord,
ICallback<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, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, send, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addHeader, getDelay, getHeaders, getHttpMethod, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches
public 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<DomainDnsCnameRecord> callback)
get
in interface IDomainDnsCnameRecordRequest
callback
- the callback to be called after success or failurepublic DomainDnsCnameRecord get() throws ClientException
get
in interface IDomainDnsCnameRecordRequest
ClientException
- this exception occurs if the request was unable to complete for any reasonpublic void delete(ICallback<DomainDnsCnameRecord> callback)
delete
in interface IDomainDnsCnameRecordRequest
callback
- the callback when the deletion action has completedpublic void delete() throws ClientException
delete
in interface IDomainDnsCnameRecordRequest
ClientException
- if there was an exception during the delete operationpublic void patch(DomainDnsCnameRecord sourceDomainDnsCnameRecord, ICallback<DomainDnsCnameRecord> callback)
patch
in interface IDomainDnsCnameRecordRequest
sourceDomainDnsCnameRecord
- the source object with updatescallback
- the callback to be called after success or failurepublic DomainDnsCnameRecord patch(DomainDnsCnameRecord sourceDomainDnsCnameRecord) throws ClientException
patch
in interface IDomainDnsCnameRecordRequest
sourceDomainDnsCnameRecord
- the source object with updatesClientException
- this exception occurs if the request was unable to complete for any reasonpublic void post(DomainDnsCnameRecord newDomainDnsCnameRecord, ICallback<DomainDnsCnameRecord> callback)
post
in interface IDomainDnsCnameRecordRequest
newDomainDnsCnameRecord
- the new object to createcallback
- the callback to be called after success or failurepublic DomainDnsCnameRecord post(DomainDnsCnameRecord newDomainDnsCnameRecord) throws ClientException
post
in interface IDomainDnsCnameRecordRequest
newDomainDnsCnameRecord
- the new object to createClientException
- this exception occurs if the request was unable to complete for any reasonpublic IDomainDnsCnameRecordRequest select(java.lang.String value)
select
in interface IDomainDnsCnameRecordRequest
value
- the select clausepublic IDomainDnsCnameRecordRequest expand(java.lang.String value)
expand
in interface IDomainDnsCnameRecordRequest
value
- the expand clause