类 BcdClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.bcd.BcdClient
-
public class BcdClient extends AbstractBceClient
- 作者:
- yangzhensheng
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 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.
-
方法概要
-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
BcdClient
public BcdClient()
Constructs a new client to invoke service methods on bcd.
-
BcdClient
public BcdClient(BcdClientConfiguration clientConfiguration)
Constructs a new bcd client using the client configuration to access bcd.- 参数:
clientConfiguration- The bcd client configuration options controlling how this client connects to bcd (e.g. proxy settings, retry counts, etc).
-
-
方法详细资料
-
listTemplateInfo
public ListTemplateInfoResponse listTemplateInfo(ListTemplateInfoRequest request)
get all contact template infos through filter params- 参数:
request- the request param contains a map which define the filter condition to get the template infos.- 返回:
- a list response object contain the total record count and the detail info about template infos.
-
addTemplateInfo
public ModifyTemplateInfoResponse addTemplateInfo(ModifyTemplateInfoRequest request)
add a contact template info into the user account- 参数:
request- the object contain some field to build a complete contact template info.- 返回:
- return a result templateId.
-
getTemplateInfo
public GetTemplateInfoResponse getTemplateInfo(GetTemplateInfoRequest request)
get a contact template info by the templateId- 参数:
request- the object contain a templateId to get a contact template info.- 返回:
- the detail info about a contact template.
-
deleteTemplateInfo
public void deleteTemplateInfo(DeleteTemplateInfoRequest request)
delete a contact template info by templateId- 参数:
request- the object contain a templateId to delete a contact template info.
-
updateTemplateInfo
public void updateTemplateInfo(ModifyTemplateInfoRequest request)
update a contact template info- 参数:
request- the object contain some new field info to update a complete contact template info. attention the templateId is must.
-
auditTemplateInfo
public void auditTemplateInfo(AuditTemplateInfoRequest request)
audit a contact template info- 参数:
request- the object contain a templateId define which template to audit, and contain a audit info object.
-
addDomainResolve
public void addDomainResolve(AddDomainResolveRequest request)
add domain resolve record- 参数:
request- the object contain some field to build a domain resolve record.
-
deleteDomainResolve
public void deleteDomainResolve(DeleteDomainResolveRequest request)
delete domain resolve record by recordId and zoneName- 参数:
request- the object contain a recordId and a zoneName define which domain resolve to delete
-
updateDomainResolve
public void updateDomainResolve(UpdateDomainResolveRequest request)
update a domain resolve record info- 参数:
request- the object contain some new field info to update a domain resolve record. attention the recordId is must.
-
listDomainResolve
public ListDomainResolveResponse listDomainResolve(ListDomainResolveRequest request)
get all the domain resolve record list.- 参数:
request- the request param contain some field which define the filter condition to get the record infos, which the domain field is necessary.- 返回:
- a list response object contain the total record count and the detail info about domain record.
-
updateOwner
public void updateOwner(UpdateOwnerRequest request)
change the owner info the domain- 参数:
request- the request object contain the change information to modify
-
updateOwnerByTemplate
public void updateOwnerByTemplate(TemplateUpdateOwnerRequest request)
change the owner info the domain by template- 参数:
request- the request object contain the templates
-
updateContact
public void updateContact(UpdateContactRequest request)
change the contact info the domain- 参数:
request- the request object contain the change information to modify
-
getDomainAudit
public GetDomainAuditResponse getDomainAudit(GetDomainAuditRequest request)
get the audit status about the domain- 参数:
request- the request object contain which domain audit status to get.- 返回:
- the response object contain the description and audit status about the request domain.
-
changeDns
public void changeDns(ChangeDnsRequest request)
change the dns configuration of request domain- 参数:
request- the request object contain which domain audit status to get.
-
getDomainDetail
public GetDomainDetailResponse getDomainDetail(GetDomainDetailRequest request)
get the detail info about request domain- 参数:
request- the request object contain which domain info to get.- 返回:
- the response object contain the detail info about the request domain.
-
uploadAudit
public void uploadAudit(UploadAuditDataRequest request)
audit a domain info- 参数:
request- the object contain some filed to audit the request domain to a normal state.
-
searchDomain
public SearchDomainResponse searchDomain(SearchDomainRequest request)
search domain register- 参数:
request- contains the domain to search.
-
getDomainPrice
public GetDomainPriceResponse getDomainPrice(GetDomainPriceRequest request)
get domain price- 参数:
request- contains the domain to get price.
-
registerDomain
public RegisterDomainResponse registerDomain(RegisterDomainRequest request)
register domain- 参数:
request- domain register detail
-
asyncRegisterDomain
public DomainOrderResponse asyncRegisterDomain(RegisterDomainRequest request)
async register domain- 参数:
request- domain register detail
-
registerDomainByTemplate
public RegisterDomainResponse registerDomainByTemplate(TemplateRegisterDomainRequest request)
register domain by template id- 参数:
request- domain register detail and template id
-
asyncRegisterDomainByTemplate
public DomainOrderResponse asyncRegisterDomainByTemplate(TemplateRegisterDomainRequest request)
async register domain by template id- 参数:
request- domain register detail and template id
-
checkOrderStatus
public CheckOrderResponse checkOrderStatus(CheckOrderRequest request)
check order status after async register domain- 参数:
request-
-
renewDomain
public RenewDomainResponse renewDomain(RenewDomainRequest request)
renew domain- 参数:
request- domain renew detail
-
asyncRenewDomain
public DomainOrderResponse asyncRenewDomain(RenewDomainRequest request)
renew domain async- 参数:
request- domain renew detail
-
-