public class UpgradeInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpgradeInstanceRequest() |
UpgradeInstanceRequest(UpgradeInstanceRequest 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 |
getAutoVoucher()
Get Whether to automatically select a voucher.
|
Long |
getCpu()
Get Database CPU
|
String |
getDbType()
Get This parameter has been disused.
|
Long |
getDealMode()
Get Transaction mode.
|
String |
getInstanceId()
Get Instance ID
|
Long |
getMemory()
Get Database memory in GB
|
Long |
getStorageLimit()
Get This parameter has been disused.
|
String |
getUpgradeMode()
Get Valid values: `NormalUpgrade` (Normal mode), `FastUpgrade` (QuickChange).
|
String |
getUpgradeType()
Get Upgrade type.
|
void |
setAutoVoucher(Long AutoVoucher)
Set Whether to automatically select a voucher.
|
void |
setCpu(Long Cpu)
Set Database CPU
|
void |
setDbType(String DbType)
Set This parameter has been disused.
|
void |
setDealMode(Long DealMode)
Set Transaction mode.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setMemory(Long Memory)
Set Database memory in GB
|
void |
setStorageLimit(Long StorageLimit)
Set This parameter has been disused.
|
void |
setUpgradeMode(String UpgradeMode)
Set Valid values: `NormalUpgrade` (Normal mode), `FastUpgrade` (QuickChange).
|
void |
setUpgradeType(String UpgradeType)
Set Upgrade type.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public UpgradeInstanceRequest()
public UpgradeInstanceRequest(UpgradeInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDpublic Long getCpu()
public void setCpu(Long Cpu)
Cpu
- Database CPUpublic Long getMemory()
public void setMemory(Long Memory)
Memory
- Database memory in GBpublic String getUpgradeType()
public void setUpgradeType(String UpgradeType)
UpgradeType
- Upgrade type. Valid values: upgradeImmediate, upgradeInMaintainpublic Long getStorageLimit()
public void setStorageLimit(Long StorageLimit)
StorageLimit
- This parameter has been disused.public Long getAutoVoucher()
public void setAutoVoucher(Long AutoVoucher)
AutoVoucher
- Whether to automatically select a voucher. 1: yes; 0: no. Default value: 0public String getDbType()
public void setDbType(String DbType)
DbType
- This parameter has been disused.public Long getDealMode()
public void setDealMode(Long DealMode)
DealMode
- Transaction mode. Valid values: `0` (place and pay for an order), `1` (place an order)public String getUpgradeMode()
public void setUpgradeMode(String UpgradeMode)
UpgradeMode
- Valid values: `NormalUpgrade` (Normal mode), `FastUpgrade` (QuickChange). If the system detects that the configuration modification process will cause a momentary disconnection, the process will be terminated.Copyright © 2024. All rights reserved.