Package cn.ucloud.uddb.client
Class UDDBClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.uddb.client.UDDBClient
-
- All Implemented Interfaces:
Client,UDDBClientInterface
public class UDDBClient extends DefaultClient implements UDDBClientInterface
This client is used to call actions of **UDDB** service
-
-
Constructor Summary
Constructors Constructor Description UDDBClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
UDDBClient
public UDDBClient(Config config, Credential credential)
-
-
Method Detail
-
changeUDDBInstanceName
public ChangeUDDBInstanceNameResponse changeUDDBInstanceName(ChangeUDDBInstanceNameRequest request) throws UCloudException
ChangeUDDBInstanceName - 修改分布式数据库中间件名称- Specified by:
changeUDDBInstanceNamein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
changeUDDBSlaveCount
public ChangeUDDBSlaveCountResponse changeUDDBSlaveCount(ChangeUDDBSlaveCountRequest request) throws UCloudException
ChangeUDDBSlaveCount - 改变分布式数据库数据节点的只读实例个数- Specified by:
changeUDDBSlaveCountin interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUDDBInstance
public CreateUDDBInstanceResponse createUDDBInstance(CreateUDDBInstanceRequest request) throws UCloudException
CreateUDDBInstance - 创建分布式数据库UDDB- Specified by:
createUDDBInstancein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUDDBInstance
public DeleteUDDBInstanceResponse deleteUDDBInstance(DeleteUDDBInstanceRequest request) throws UCloudException
DeleteUDDBInstance - 删除UDDB实例- Specified by:
deleteUDDBInstancein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDDBInstance
public DescribeUDDBInstanceResponse describeUDDBInstance(DescribeUDDBInstanceRequest request) throws UCloudException
DescribeUDDBInstance - 获取分布式数据库UDDB的详细信息- Specified by:
describeUDDBInstancein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDDBInstancePrice
public DescribeUDDBInstancePriceResponse describeUDDBInstancePrice(DescribeUDDBInstancePriceRequest request) throws UCloudException
DescribeUDDBInstancePrice - 获取分布式数据库UDDB价格- Specified by:
describeUDDBInstancePricein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUDDBInstanceUpgradePrice
public DescribeUDDBInstanceUpgradePriceResponse describeUDDBInstanceUpgradePrice(DescribeUDDBInstanceUpgradePriceRequest request) throws UCloudException
DescribeUDDBInstanceUpgradePrice - 升级UDDB时,获取升级后的价格- Specified by:
describeUDDBInstanceUpgradePricein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
restartUDDBInstance
public RestartUDDBInstanceResponse restartUDDBInstance(RestartUDDBInstanceRequest request) throws UCloudException
RestartUDDBInstance - 重启UDDB实例- Specified by:
restartUDDBInstancein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
startUDDBInstance
public StartUDDBInstanceResponse startUDDBInstance(StartUDDBInstanceRequest request) throws UCloudException
StartUDDBInstance - 启动UDDB实例- Specified by:
startUDDBInstancein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
stopUDDBInstance
public StopUDDBInstanceResponse stopUDDBInstance(StopUDDBInstanceRequest request) throws UCloudException
StopUDDBInstance - 关闭UDDB实例- Specified by:
stopUDDBInstancein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
upgradeUDDBDataNode
public UpgradeUDDBDataNodeResponse upgradeUDDBDataNode(UpgradeUDDBDataNodeRequest request) throws UCloudException
UpgradeUDDBDataNode - 升降级分布式数据库数据节点的配置- Specified by:
upgradeUDDBDataNodein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
upgradeUDDBInstance
public UpgradeUDDBInstanceResponse upgradeUDDBInstance(UpgradeUDDBInstanceRequest request) throws UCloudException
UpgradeUDDBInstance - 升降级分布式数据库中间件的配置- Specified by:
upgradeUDDBInstancein interfaceUDDBClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-