public class ModifyDBInstanceSpecRequest extends AbstractModel
Constructor and Description |
---|
ModifyDBInstanceSpecRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId()
Get 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
|
Long |
getMemory()
Get 实例配置变更后的内存大小,单位:GB。内存和磁盘必须同时升配或同时降配
|
Long |
getOplogSize()
Get 实例配置变更后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%
|
Long |
getVolume()
Get 实例配置变更后的硬盘大小,单位:GB。内存和磁盘必须同时升配或同时降配。降配时,新的磁盘参数必须大于已用磁盘容量的1.2倍
|
void |
setInstanceId(String InstanceId)
Set 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同
|
void |
setMemory(Long Memory)
Set 实例配置变更后的内存大小,单位:GB。内存和磁盘必须同时升配或同时降配
|
void |
setOplogSize(Long OplogSize)
Set 实例配置变更后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%
|
void |
setVolume(Long Volume)
Set 实例配置变更后的硬盘大小,单位:GB。内存和磁盘必须同时升配或同时降配。降配时,新的磁盘参数必须大于已用磁盘容量的1.2倍
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- 实例ID,格式如:cmgo-p8vnipr5。与云数据库控制台页面中显示的实例ID相同public Long getMemory()
public void setMemory(Long Memory)
Memory
- 实例配置变更后的内存大小,单位:GB。内存和磁盘必须同时升配或同时降配public Long getVolume()
public void setVolume(Long Volume)
Volume
- 实例配置变更后的硬盘大小,单位:GB。内存和磁盘必须同时升配或同时降配。降配时,新的磁盘参数必须大于已用磁盘容量的1.2倍public Long getOplogSize()
public void setOplogSize(Long OplogSize)
OplogSize
- 实例配置变更后oplog的大小,单位:GB,默认为磁盘空间的10%,允许设置的最小值为磁盘的10%,最大值为磁盘的90%Copyright © 2020. All rights reserved.