public class UpgradeDedicatedDBInstanceRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpgradeDedicatedDBInstanceRequest() |
UpgradeDedicatedDBInstanceRequest(UpgradeDedicatedDBInstanceRequest 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 |
---|---|
String |
getInstanceId()
Get ID of the instance to be upgraded.
|
Long |
getMemory()
Get Memory size in GB, which can be obtained through the `DescribeFenceDBInstanceSpecs` API.
|
Long |
getStorage()
Get Storage space size in GB.
|
Long |
getSwitchAutoRetry()
Get Whether to retry again when missing the switch time window.
|
String |
getSwitchEndTime()
Get Switch end time
|
String |
getSwitchStartTime()
Get Switch start time
|
void |
setInstanceId(String InstanceId)
Set ID of the instance to be upgraded.
|
void |
setMemory(Long Memory)
Set Memory size in GB, which can be obtained through the `DescribeFenceDBInstanceSpecs` API.
|
void |
setStorage(Long Storage)
Set Storage space size in GB.
|
void |
setSwitchAutoRetry(Long SwitchAutoRetry)
Set Whether to retry again when missing the switch time window.
|
void |
setSwitchEndTime(String SwitchEndTime)
Set Switch end time
|
void |
setSwitchStartTime(String SwitchStartTime)
Set Switch start time
|
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 UpgradeDedicatedDBInstanceRequest()
public UpgradeDedicatedDBInstanceRequest(UpgradeDedicatedDBInstanceRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- ID of the instance to be upgraded. It is in the form of `tdsql-ow728lmc`, which can be obtained by querying the instance details through the `DescribeDBInstances` API.public Long getMemory()
public void setMemory(Long Memory)
Memory
- Memory size in GB, which can be obtained through the `DescribeFenceDBInstanceSpecs` API.public Long getStorage()
public void setStorage(Long Storage)
Storage
- Storage space size in GB. You can obtain the disk space limits by querying instance specification through the `DescribeDBInstanceSpecs` API.public Long getSwitchAutoRetry()
public void setSwitchAutoRetry(Long SwitchAutoRetry)
SwitchAutoRetry
- Whether to retry again when missing the switch time window. Valid values: `0` (no), `1` (yes).public String getSwitchStartTime()
public void setSwitchStartTime(String SwitchStartTime)
SwitchStartTime
- Switch start timepublic String getSwitchEndTime()
public void setSwitchEndTime(String SwitchEndTime)
SwitchEndTime
- Switch end timeCopyright © 2024. All rights reserved.