类 RdsClient
- java.lang.Object
-
- com.baidubce.AbstractBceClient
-
- com.baidubce.services.rds.RdsClient
-
public class RdsClient extends AbstractBceClient
Rds client, operate rds instance
-
-
字段概要
-
从类继承的字段 com.baidubce.AbstractBceClient
config, DEFAULT_CONTENT_TYPE, DEFAULT_ENCODING, DEFAULT_SERVICE_DOMAIN, URL_PREFIX
-
-
构造器概要
构造器 构造器 说明 RdsClient()RdsClient(BceClientConfiguration configuration)RdsClient(BceClientConfiguration config, HttpResponseHandler[] responseHandlers)
-
方法概要
-
从类继承的方法 com.baidubce.AbstractBceClient
computeBktVirEndpoint, computeServiceId, getBktVirEndpoint, getClient, getEndpoint, getServiceId, invokeHttpClient, isRegionSupported, setClient, shutdown
-
-
-
-
构造器详细资料
-
RdsClient
public RdsClient()
-
RdsClient
public RdsClient(BceClientConfiguration configuration)
-
RdsClient
public RdsClient(BceClientConfiguration config, HttpResponseHandler[] responseHandlers)
-
-
方法详细资料
-
getRdsInstanceList
public RdsInstanceListResponse getRdsInstanceList(RdsInstanceListRequest request)
Get the instance list of rds- 参数:
request- the request- 返回:
- rds instance list
-
getRdsInstanceDetail
public RdsInstanceDetailResponse getRdsInstanceDetail(RdsInstanceDetailRequest request)
Request the instance detail info- 参数:
request- thd detail request- 返回:
- ths response of detail
-
createAccount
public AbstractBceResponse createAccount(RdsCreateAccountRequest request) throws GeneralSecurityException
Create rds account- 参数:
request- the request of create account- 返回:
- the response of create account
- 抛出:
GeneralSecurityException- the exception when encrypt
-
getAccountList
public RdsAccountListResponse getAccountList(RdsAccountListRequest request)
Request the account list of instance- 参数:
request- the request of account list- 返回:
- all accounts of the instance
-
getSpecificAccountInfo
public RdsAccount getSpecificAccountInfo(RdsAccountInfoRequest request)
Request the specific account info- 参数:
request- the request of specific account- 返回:
- the response of specific account info
-
resizeInstance
public AbstractBceResponse resizeInstance(RdsInstanceResizeRequest request)
Resize the instance- 参数:
request- the request of resize rds instance- 返回:
- ths response of resize rds instance
-
createInstance
public RdsCreateInstanceResponse createInstance(RdsCreateInstanceRequest request)
Create rds instance- 参数:
request- the request of create rds instance- 返回:
- response
-
getSlowLog
public RdsSlowLogResponse getSlowLog(RdsSlowLogRequest request)
Request the slow log of rds instance- 参数:
request- the request of slow log- 返回:
- the response
-
autoRenew
public AbstractBceResponse autoRenew(RdsAutoRenewRequest request)
Auto renew the rds instance- 参数:
request- the request to auto renew rds instance- 返回:
- the response
-
createInstanceReadableReplica
public RdsCreateInstanceResponse createInstanceReadableReplica(RdsCreateReadableInstance request)
Create a readable rds instance- 参数:
request- the request of instance creation- 返回:
- the response
-
createInstanceProxy
public RdsCreateInstanceResponse createInstanceProxy(RdsCreateProxyInstance request)
Create a rds proxy instance- 参数:
request- the request to create rds proxy instance- 返回:
- the response
-
getZoneList
public RdsZoneResponse getZoneList()
Request the rds zone list- 返回:
- the response
-
getSubnetList
public RdsSubnetResponse getSubnetList(RdsSubnetRequest request)
Request the rds subnet list- 参数:
request- the request of rds subnet- 返回:
- the response of rds subnet
-
releaseInstance
public RdsReleaseInstanceResponse releaseInstance(RdsReleaseInstanceRequest request)
Release the specific rds instance- 参数:
request- the request to release rds instance- 返回:
- the response
-
createDatabase
public AbstractBceResponse createDatabase(RdsCreateDatabaseRequest request)
Create rds database- 参数:
request- the request of create database- 返回:
- the response
-
deleteDatabase
public AbstractBceResponse deleteDatabase(RdsDeleteDatabaseRequest request)
Delete rds database- 参数:
request- the request of delete rds database- 返回:
- the response of delete database
-
modifyBackup
public AbstractBceResponse modifyBackup(RdsModifyBackupRequest request)
Modify the rds backup policy- 参数:
request- the request of modify rds backup policy- 返回:
- the response
-
getBackupList
public RdsGetBackupListResponse getBackupList(RdsGetBackupListRequest request)
Get the rds backup list- 参数:
request- the request of get rds backup list- 返回:
- the response
-
getBackupInfo
public RdsBackupInfoResponse getBackupInfo(RdsBackupInfoRequest request)
Get the rds backup info- 参数:
request- the request of get the rds backup info- 返回:
- the response
-
getSlowLogDownloadTaskList
public RdsSlowLogDownloadTasksResponse getSlowLogDownloadTaskList(RdsSlowLogDownloadTasksRequest request)
Get the rds slow log download task list- 参数:
request- the request of download rds slow log list- 返回:
- the response
-
getSlowLogDownloadDetail
public RdsSlowLogDownloadDetailResponse getSlowLogDownloadDetail(RdsSlowLogDownloadDetailRequest request)
Get the detail info of downloading rds slow log- 参数:
request-- 返回:
-
getParameterList
public RdsParameterListResponse getParameterList(RdsParameterListRequest request)
Get the rds parameter list- 参数:
request- the request of get the rds parameter list- 返回:
- the response
-
modifyParameter
public AbstractBceResponse modifyParameter(RdsModifyParameterRequest request)
Modify rds parameter- 参数:
request- the request of modify rds parameter- 返回:
- the response
-
-