Package cn.ucloud.uphone.client
Class UPhoneClient
- java.lang.Object
-
- cn.ucloud.common.client.DefaultClient
-
- cn.ucloud.uphone.client.UPhoneClient
-
- All Implemented Interfaces:
Client,UPhoneClientInterface,Closeable,AutoCloseable
public class UPhoneClient extends DefaultClient implements UPhoneClientInterface
This client is used to call actions of **UPhone** service
-
-
Constructor Summary
Constructors Constructor Description UPhoneClient(Config config, Credential credential)
-
Method Summary
-
Methods inherited from class cn.ucloud.common.client.DefaultClient
close, getConfig, getCredential, getTransport, invoke, setConfig, setCredential, setTransport, useMiddleware
-
-
-
-
Constructor Detail
-
UPhoneClient
public UPhoneClient(Config config, Credential credential)
-
-
Method Detail
-
createUPhone
public CreateUPhoneResponse createUPhone(CreateUPhoneRequest request) throws UCloudException
CreateUPhone - 创建云手机- Specified by:
createUPhonein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUPhoneApp
public CreateUPhoneAppResponse createUPhoneApp(CreateUPhoneAppRequest request) throws UCloudException
CreateUPhoneApp - 创建云手机应用- Specified by:
createUPhoneAppin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUPhoneAppVersion
public CreateUPhoneAppVersionResponse createUPhoneAppVersion(CreateUPhoneAppVersionRequest request) throws UCloudException
CreateUPhoneAppVersion - 创建云手机应用版本- Specified by:
createUPhoneAppVersionin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUPhoneImage
public CreateUPhoneImageResponse createUPhoneImage(CreateUPhoneImageRequest request) throws UCloudException
CreateUPhoneImage - 创建云手机镜像- Specified by:
createUPhoneImagein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
createUPhoneServer
public CreateUPhoneServerResponse createUPhoneServer(CreateUPhoneServerRequest request) throws UCloudException
CreateUPhoneServer - 创建云手机服务器- Specified by:
createUPhoneServerin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUPhone
public DeleteUPhoneResponse deleteUPhone(DeleteUPhoneRequest request) throws UCloudException
DeleteUPhone - 删除云手机- Specified by:
deleteUPhonein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUPhoneImage
public DeleteUPhoneImageResponse deleteUPhoneImage(DeleteUPhoneImageRequest request) throws UCloudException
DeleteUPhoneImage - 删除自制云手机镜像。- Specified by:
deleteUPhoneImagein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUPhoneServer
public DeleteUPhoneServerResponse deleteUPhoneServer(DeleteUPhoneServerRequest request) throws UCloudException
DeleteUPhoneServer - 删除云手机服务器- Specified by:
deleteUPhoneServerin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
deleteUPhoneShareBandwidth
public DeleteUPhoneShareBandwidthResponse deleteUPhoneShareBandwidth(DeleteUPhoneShareBandwidthRequest request) throws UCloudException
DeleteUPhoneShareBandwidth - 删除云手机共享带宽- Specified by:
deleteUPhoneShareBandwidthin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhone
public DescribeUPhoneResponse describeUPhone(DescribeUPhoneRequest request) throws UCloudException
DescribeUPhone - 获取云手机列表- Specified by:
describeUPhonein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneApp
public DescribeUPhoneAppResponse describeUPhoneApp(DescribeUPhoneAppRequest request) throws UCloudException
DescribeUPhoneApp - 获取应用列表- Specified by:
describeUPhoneAppin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneAppVersion
public DescribeUPhoneAppVersionResponse describeUPhoneAppVersion(DescribeUPhoneAppVersionRequest request) throws UCloudException
DescribeUPhoneAppVersion - 获取应用版本列表- Specified by:
describeUPhoneAppVersionin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneCities
public DescribeUPhoneCitiesResponse describeUPhoneCities(DescribeUPhoneCitiesRequest request) throws UCloudException
DescribeUPhoneCities - 获取云手机城市列表- Specified by:
describeUPhoneCitiesin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneDetailByApp
public DescribeUPhoneDetailByAppResponse describeUPhoneDetailByApp(DescribeUPhoneDetailByAppRequest request) throws UCloudException
DescribeUPhoneDetailByApp - 查询应用所安装的云手机列表- Specified by:
describeUPhoneDetailByAppin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneEipList
public DescribeUPhoneEipListResponse describeUPhoneEipList(DescribeUPhoneEipListRequest request) throws UCloudException
DescribeUPhoneEipList - 获取云手机Eip列表- Specified by:
describeUPhoneEipListin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneImage
public DescribeUPhoneImageResponse describeUPhoneImage(DescribeUPhoneImageRequest request) throws UCloudException
DescribeUPhoneImage - 获取云手机镜像信息列表- Specified by:
describeUPhoneImagein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneIpRegions
public DescribeUPhoneIpRegionsResponse describeUPhoneIpRegions(DescribeUPhoneIpRegionsRequest request) throws UCloudException
DescribeUPhoneIpRegions - 获取云手机所在城市支持绑定独立IP的地域列表- Specified by:
describeUPhoneIpRegionsin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneJob
public DescribeUPhoneJobResponse describeUPhoneJob(DescribeUPhoneJobRequest request) throws UCloudException
DescribeUPhoneJob - 查询Job的执行状态。- Specified by:
describeUPhoneJobin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneModel
public DescribeUPhoneModelResponse describeUPhoneModel(DescribeUPhoneModelRequest request) throws UCloudException
DescribeUPhoneModel - 获取云手机规格列表- Specified by:
describeUPhoneModelin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneServer
public DescribeUPhoneServerResponse describeUPhoneServer(DescribeUPhoneServerRequest request) throws UCloudException
DescribeUPhoneServer - 获取云手机服务器列表- Specified by:
describeUPhoneServerin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneServerModel
public DescribeUPhoneServerModelResponse describeUPhoneServerModel(DescribeUPhoneServerModelRequest request) throws UCloudException
DescribeUPhoneServerModel - 获取ServerModel列表。- Specified by:
describeUPhoneServerModelin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
describeUPhoneShareBandwidth
public DescribeUPhoneShareBandwidthResponse describeUPhoneShareBandwidth(DescribeUPhoneShareBandwidthRequest request) throws UCloudException
DescribeUPhoneShareBandwidth - 获取共享带宽列表- Specified by:
describeUPhoneShareBandwidthin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUPhoneAllowance
public GetUPhoneAllowanceResponse getUPhoneAllowance(GetUPhoneAllowanceRequest request) throws UCloudException
GetUPhoneAllowance - 获取云手机创建余量- Specified by:
getUPhoneAllowancein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUPhoneBandwidthUpgradePrice
public GetUPhoneBandwidthUpgradePriceResponse getUPhoneBandwidthUpgradePrice(GetUPhoneBandwidthUpgradePriceRequest request) throws UCloudException
GetUPhoneBandwidthUpgradePrice - 获取云手机带宽升降级价格- Specified by:
getUPhoneBandwidthUpgradePricein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUPhonePrice
public GetUPhonePriceResponse getUPhonePrice(GetUPhonePriceRequest request) throws UCloudException
GetUPhonePrice - 获取云手机价格- Specified by:
getUPhonePricein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUPhoneRenewPrice
public GetUPhoneRenewPriceResponse getUPhoneRenewPrice(GetUPhoneRenewPriceRequest request) throws UCloudException
GetUPhoneRenewPrice - 获取云手机续费价格- Specified by:
getUPhoneRenewPricein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUPhoneScreenCapture
public GetUPhoneScreenCaptureResponse getUPhoneScreenCapture(GetUPhoneScreenCaptureRequest request) throws UCloudException
GetUPhoneScreenCapture - 云手机截屏- Specified by:
getUPhoneScreenCapturein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUPhoneServerPrice
public GetUPhoneServerPriceResponse getUPhoneServerPrice(GetUPhoneServerPriceRequest request) throws UCloudException
GetUPhoneServerPrice - 获取云手机服务器价格- Specified by:
getUPhoneServerPricein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUPhoneServerRenewPrice
public GetUPhoneServerRenewPriceResponse getUPhoneServerRenewPrice(GetUPhoneServerRenewPriceRequest request) throws UCloudException
GetUPhoneServerRenewPrice - 获取云手机服务器续费价格- Specified by:
getUPhoneServerRenewPricein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
getUPhoneShareBandwidthUpgradePrice
public GetUPhoneShareBandwidthUpgradePriceResponse getUPhoneShareBandwidthUpgradePrice(GetUPhoneShareBandwidthUpgradePriceRequest request) throws UCloudException
GetUPhoneShareBandwidthUpgradePrice - 获取云手机共享带宽升降级价格- Specified by:
getUPhoneShareBandwidthUpgradePricein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
importFile
public ImportFileResponse importFile(ImportFileRequest request) throws UCloudException
ImportFile - 上传文件- Specified by:
importFilein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
installUPhoneAppVersion
public InstallUPhoneAppVersionResponse installUPhoneAppVersion(InstallUPhoneAppVersionRequest request) throws UCloudException
InstallUPhoneAppVersion - 安装云手机应用版本- Specified by:
installUPhoneAppVersionin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUPhoneBandwidth
public ModifyUPhoneBandwidthResponse modifyUPhoneBandwidth(ModifyUPhoneBandwidthRequest request) throws UCloudException
ModifyUPhoneBandwidth - 修改云手机带宽- Specified by:
modifyUPhoneBandwidthin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUPhoneName
public ModifyUPhoneNameResponse modifyUPhoneName(ModifyUPhoneNameRequest request) throws UCloudException
ModifyUPhoneName - 修改云手机名称- Specified by:
modifyUPhoneNamein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUPhoneRemark
public ModifyUPhoneRemarkResponse modifyUPhoneRemark(ModifyUPhoneRemarkRequest request) throws UCloudException
ModifyUPhoneRemark - 修改云手机备注信息- Specified by:
modifyUPhoneRemarkin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUPhoneServerName
public ModifyUPhoneServerNameResponse modifyUPhoneServerName(ModifyUPhoneServerNameRequest request) throws UCloudException
ModifyUPhoneServerName - 修改云手机服务器名称- Specified by:
modifyUPhoneServerNamein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUPhoneServerRemark
public ModifyUPhoneServerRemarkResponse modifyUPhoneServerRemark(ModifyUPhoneServerRemarkRequest request) throws UCloudException
ModifyUPhoneServerRemark - 修改云手机服务器备注信息- Specified by:
modifyUPhoneServerRemarkin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUPhoneShareBandwidth
public ModifyUPhoneShareBandwidthResponse modifyUPhoneShareBandwidth(ModifyUPhoneShareBandwidthRequest request) throws UCloudException
ModifyUPhoneShareBandwidth - 修改云手机共享带宽- Specified by:
modifyUPhoneShareBandwidthin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUPhoneShareBandwidthName
public ModifyUPhoneShareBandwidthNameResponse modifyUPhoneShareBandwidthName(ModifyUPhoneShareBandwidthNameRequest request) throws UCloudException
ModifyUPhoneShareBandwidthName - 修改云手机共享带宽名称- Specified by:
modifyUPhoneShareBandwidthNamein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
modifyUPhoneShareBandwidthRemark
public ModifyUPhoneShareBandwidthRemarkResponse modifyUPhoneShareBandwidthRemark(ModifyUPhoneShareBandwidthRemarkRequest request) throws UCloudException
ModifyUPhoneShareBandwidthRemark - 修改云手机共享带宽备注- Specified by:
modifyUPhoneShareBandwidthRemarkin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
poweroffUPhone
public PoweroffUPhoneResponse poweroffUPhone(PoweroffUPhoneRequest request) throws UCloudException
PoweroffUPhone - 关闭云手机- Specified by:
poweroffUPhonein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
poweronUPhone
public PoweronUPhoneResponse poweronUPhone(PoweronUPhoneRequest request) throws UCloudException
PoweronUPhone - 开启云手机- Specified by:
poweronUPhonein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
rebootUPhone
public RebootUPhoneResponse rebootUPhone(RebootUPhoneRequest request) throws UCloudException
RebootUPhone - 重启云手机- Specified by:
rebootUPhonein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
renewUPhone
public RenewUPhoneResponse renewUPhone(RenewUPhoneRequest request) throws UCloudException
RenewUPhone - 一键新机- Specified by:
renewUPhonein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
resetUPhone
public ResetUPhoneResponse resetUPhone(ResetUPhoneRequest request) throws UCloudException
ResetUPhone - 重置云手机- Specified by:
resetUPhonein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
runAsyncCommand
public RunAsyncCommandResponse runAsyncCommand(RunAsyncCommandRequest request) throws UCloudException
RunAsyncCommand - 执行异步shell命令- Specified by:
runAsyncCommandin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
runSyncCommand
public RunSyncCommandResponse runSyncCommand(RunSyncCommandRequest request) throws UCloudException
RunSyncCommand - 执行同步shell命令- Specified by:
runSyncCommandin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setUPhoneCallback
public SetUPhoneCallbackResponse setUPhoneCallback(SetUPhoneCallbackRequest request) throws UCloudException
SetUPhoneCallback - 设置云手机异步操作回调- Specified by:
setUPhoneCallbackin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setUPhoneConfig
public SetUPhoneConfigResponse setUPhoneConfig(SetUPhoneConfigRequest request) throws UCloudException
SetUPhoneConfig - 设置云手机参数- Specified by:
setUPhoneConfigin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setUPhoneGPS
public SetUPhoneGPSResponse setUPhoneGPS(SetUPhoneGPSRequest request) throws UCloudException
SetUPhoneGPS - 设置云手机GPS信息- Specified by:
setUPhoneGPSin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setUPhoneManagerMode
public SetUPhoneManagerModeResponse setUPhoneManagerMode(SetUPhoneManagerModeRequest request) throws UCloudException
SetUPhoneManagerMode - 设置云手机管理模式- Specified by:
setUPhoneManagerModein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setUPhoneRootMode
public SetUPhoneRootModeResponse setUPhoneRootMode(SetUPhoneRootModeRequest request) throws UCloudException
SetUPhoneRootMode - 设置云手机Root模式- Specified by:
setUPhoneRootModein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
setUPhoneToken
public SetUPhoneTokenResponse setUPhoneToken(SetUPhoneTokenRequest request) throws UCloudException
SetUPhoneToken - 设置云手机RTC连接Token- Specified by:
setUPhoneTokenin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
unInstallUPhoneAppVersion
public UnInstallUPhoneAppVersionResponse unInstallUPhoneAppVersion(UnInstallUPhoneAppVersionRequest request) throws UCloudException
UnInstallUPhoneAppVersion - 卸载云手机应用版本- Specified by:
unInstallUPhoneAppVersionin interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
updateUPhoneImage
public UpdateUPhoneImageResponse updateUPhoneImage(UpdateUPhoneImageRequest request) throws UCloudException
UpdateUPhoneImage - 更新云手机镜像信息。- Specified by:
updateUPhoneImagein interfaceUPhoneClientInterface- Parameters:
request- Request object- Throws:
UCloudException- Exception
-
-