public class BcdClient extends AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX| Constructor and Description |
|---|
BcdClient()
Constructs a new client to invoke service methods on bcd.
|
BcdClient(BcdClientConfiguration clientConfiguration)
Constructs a new bcd client using the client configuration to access bcd.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addDomainResolve(AddDomainResolveRequest request)
add domain resolve record
|
ModifyTemplateInfoResponse |
addTemplateInfo(ModifyTemplateInfoRequest request)
add a contact template info into the user account
|
void |
auditTemplateInfo(AuditTemplateInfoRequest request)
audit a contact template info
|
void |
changeDns(ChangeDnsRequest request)
change the dns configuration of request domain
|
void |
deleteDomainResolve(DeleteDomainResolveRequest request)
delete domain resolve record by recordId and zoneName
|
void |
deleteTemplateInfo(DeleteTemplateInfoRequest request)
delete a contact template info by templateId
|
GetDomainAuditResponse |
getDomainAudit(GetDomainAuditRequest request)
get the audit status about the domain
|
GetDomainDetailResponse |
getDomainDetail(GetDomainDetailRequest request)
get the detail info about request domain
|
GetTemplateInfoResponse |
getTemplateInfo(GetTemplateInfoRequest request)
get a contact template info by the templateId
|
ListDomainResolveResponse |
listDomainResolve(ListDomainResolveRequest request)
get all the domain resolve record list.
|
ListTemplateInfoResponse |
listTemplateInfo(ListTemplateInfoRequest request)
get all contact template infos through filter params
|
void |
updateContact(UpdateContactRequest request)
change the contact info the domain
|
void |
updateDomainResolve(UpdateDomainResolveRequest request)
update a domain resolve record info
|
void |
updateOwner(UpdateOwnerRequest request)
change the owner info the domain
|
void |
updateTemplateInfo(ModifyTemplateInfoRequest request)
update a contact template info
|
void |
uploadAudit(UploadAuditDataRequest request)
audit a domain info
|
computeServiceId, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdownpublic BcdClient()
public BcdClient(BcdClientConfiguration clientConfiguration)
clientConfiguration - The bcd client configuration options controlling how this client
connects to bcd (e.g. proxy settings, retry counts, etc).public ListTemplateInfoResponse listTemplateInfo(ListTemplateInfoRequest request)
request - the request param contains a map which define the filter condition to get the template infos.public ModifyTemplateInfoResponse addTemplateInfo(ModifyTemplateInfoRequest request)
request - the object contain some field to build a complete contact template info.public GetTemplateInfoResponse getTemplateInfo(GetTemplateInfoRequest request)
request - the object contain a templateId to get a contact template info.public void deleteTemplateInfo(DeleteTemplateInfoRequest request)
request - the object contain a templateId to delete a contact template info.public void updateTemplateInfo(ModifyTemplateInfoRequest request)
request - the object contain some new field info to update a complete contact template info. attention the
templateId is must.public void auditTemplateInfo(AuditTemplateInfoRequest request)
request - the object contain a templateId define which template to audit, and contain a audit info object.public void addDomainResolve(AddDomainResolveRequest request)
request - the object contain some field to build a domain resolve record.public void deleteDomainResolve(DeleteDomainResolveRequest request)
request - the object contain a recordId and a zoneName define which domain resolve to deletepublic void updateDomainResolve(UpdateDomainResolveRequest request)
request - the object contain some new field info to update a domain resolve record. attention the
recordId is must.public ListDomainResolveResponse listDomainResolve(ListDomainResolveRequest request)
request - the request param contain some field which define the filter condition to get the record infos,
which the domain field is necessary.public void updateOwner(UpdateOwnerRequest request)
request - the request object contain the change information to modifypublic void updateContact(UpdateContactRequest request)
request - the request object contain the change information to modifypublic GetDomainAuditResponse getDomainAudit(GetDomainAuditRequest request)
request - the request object contain which domain audit status to get.public void changeDns(ChangeDnsRequest request)
request - the request object contain which domain audit status to get.public GetDomainDetailResponse getDomainDetail(GetDomainDetailRequest request)
request - the request object contain which domain info to get.public void uploadAudit(UploadAuditDataRequest request)
request - the object contain some filed to audit the request domain to a normal state.Copyright © 2021. All rights reserved.