public class ModifyDBInstanceSpecRequest extends AbstractModel
Constructor and Description |
---|
ModifyDBInstanceSpecRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId()
Get Instance ID in the format of cmgo-p8vnipr5.
|
Long |
getMemory()
Get Memory size after instance configuration change in GB.
|
Long |
getOplogSize()
Get Oplog size after instance configuration change in GB, which ranges from 10% to 90% of the disk capacity and is 10% of the disk capacity by default
|
Long |
getVolume()
Get Disk size after instance configuration change in GB.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of cmgo-p8vnipr5.
|
void |
setMemory(Long Memory)
Set Memory size after instance configuration change in GB.
|
void |
setOplogSize(Long OplogSize)
Set Oplog size after instance configuration change in GB, which ranges from 10% to 90% of the disk capacity and is 10% of the disk capacity by default
|
void |
setVolume(Long Volume)
Set Disk size after instance configuration change in GB.
|
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
- Instance ID in the format of cmgo-p8vnipr5. It is the same as the instance ID displayed on the TencentDB Console pagepublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size after instance configuration change in GB. Memory and disk must be upgraded or degraded simultaneouslypublic Long getVolume()
public void setVolume(Long Volume)
Volume
- Disk size after instance configuration change in GB. Memory and disk must be upgraded or degraded simultaneously. For degradation, the new disk capacity must be greater than 1.2 times the used disk capacitypublic Long getOplogSize()
public void setOplogSize(Long OplogSize)
OplogSize
- Oplog size after instance configuration change in GB, which ranges from 10% to 90% of the disk capacity and is 10% of the disk capacity by defaultCopyright © 2020. All rights reserved.