public class ModifyDBInstanceSpecRequest extends AbstractModel
Constructor and Description |
---|
ModifyDBInstanceSpecRequest() |
ModifyDBInstanceSpecRequest(ModifyDBInstanceSpecRequest 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getInMaintenance()
Get Switch time.
|
String |
getInstanceId()
Get Instance ID in the format of cmgo-p8vnipr5.
|
Long |
getMemory()
Get Memory size after instance configuration change in GB.
|
Long |
getNodeNum()
Get Node quantity after configuration modification.
|
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 |
getReplicateSetNum()
Get Shard quantity after configuration modification, which can only be increased rather than decreased.
|
Long |
getVolume()
Get Disk size after instance configuration change in GB.
|
void |
setInMaintenance(Long InMaintenance)
Set Switch time.
|
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 |
setNodeNum(Long NodeNum)
Set Node quantity after configuration modification.
|
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 |
setReplicateSetNum(Long ReplicateSetNum)
Set Shard quantity after configuration modification, which can only be increased rather than decreased.
|
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 ModifyDBInstanceSpecRequest()
public ModifyDBInstanceSpecRequest(ModifyDBInstanceSpecRequest source)
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 defaultpublic Long getNodeNum()
public void setNodeNum(Long NodeNum)
NodeNum
- Node quantity after configuration modification. The value range is subject to the response parameter of the `DescribeSpecInfo` API. If this parameter is left empty, the node quantity remains unchanged.public Long getReplicateSetNum()
public void setReplicateSetNum(Long ReplicateSetNum)
ReplicateSetNum
- Shard quantity after configuration modification, which can only be increased rather than decreased. The value range is subject to the response parameter of the `DescribeSpecInfo` API. If this parameter is left empty, the shard quantity remains unchanged.public Long getInMaintenance()
public void setInMaintenance(Long InMaintenance)
InMaintenance
- Switch time. Valid values: `0` (upon modification completion), `1` (during maintenance time). Default value: `0`. If the quantity of nodes or shards is modified, the value will be `0`.Copyright © 2023. All rights reserved.