Class UpgradeDBInstanceRequest
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mongodb.v20180408.models.UpgradeDBInstanceRequest
-
public class UpgradeDBInstanceRequest extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description UpgradeDBInstanceRequest()UpgradeDBInstanceRequest(UpgradeDBInstanceRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetInstanceId()Get 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同LonggetMemory()Get 升级后的内存大小,单位:GBLonggetOplogSize()Get 升级后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%LonggetVolume()Get 升级后的硬盘大小,单位:GBvoidsetInstanceId(String InstanceId)Set 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同voidsetMemory(Long Memory)Set 升级后的内存大小,单位:GBvoidsetOplogSize(Long OplogSize)Set 升级后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%voidsetVolume(Long Volume)Set 升级后的硬盘大小,单位:GBvoidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
UpgradeDBInstanceRequest
public UpgradeDBInstanceRequest()
-
UpgradeDBInstanceRequest
public UpgradeDBInstanceRequest(UpgradeDBInstanceRequest source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
-
-
Method Detail
-
getInstanceId
public String getInstanceId()
Get 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同- Returns:
- InstanceId 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
-
setInstanceId
public void setInstanceId(String InstanceId)
Set 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同- Parameters:
InstanceId- 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
-
getMemory
public Long getMemory()
Get 升级后的内存大小,单位:GB- Returns:
- Memory 升级后的内存大小,单位:GB
-
setMemory
public void setMemory(Long Memory)
Set 升级后的内存大小,单位:GB- Parameters:
Memory- 升级后的内存大小,单位:GB
-
getVolume
public Long getVolume()
Get 升级后的硬盘大小,单位:GB- Returns:
- Volume 升级后的硬盘大小,单位:GB
-
setVolume
public void setVolume(Long Volume)
Set 升级后的硬盘大小,单位:GB- Parameters:
Volume- 升级后的硬盘大小,单位:GB
-
getOplogSize
public Long getOplogSize()
Get 升级后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%- Returns:
- OplogSize 升级后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%
-
setOplogSize
public void setOplogSize(Long OplogSize)
Set 升级后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%- Parameters:
OplogSize- 升级后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%
-
-