public class UpgradeDBInstanceEngineVersionRequest extends AbstractModel
Constructor and Description |
---|
UpgradeDBInstanceEngineVersionRequest() |
UpgradeDBInstanceEngineVersionRequest(UpgradeDBInstanceEngineVersionRequest 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 |
getEngineVersion()
Get Version of primary instance database engine.
|
String |
getInstanceId()
Get Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv.
|
Long |
getMaxDelayTime()
Get Delay threshold.
|
Long |
getUpgradeSubversion()
Get Whether to upgrade kernel minor version.
|
Long |
getWaitSwitch()
Get Mode of switch to a new instance.
|
void |
setEngineVersion(String EngineVersion)
Set Version of primary instance database engine.
|
void |
setInstanceId(String InstanceId)
Set Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv.
|
void |
setMaxDelayTime(Long MaxDelayTime)
Set Delay threshold.
|
void |
setUpgradeSubversion(Long UpgradeSubversion)
Set Whether to upgrade kernel minor version.
|
void |
setWaitSwitch(Long WaitSwitch)
Set Mode of switch to a new instance.
|
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 UpgradeDBInstanceEngineVersionRequest()
public UpgradeDBInstanceEngineVersionRequest(UpgradeDBInstanceEngineVersionRequest source)
public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance ID in the format of cdb-c1nl9rpv or cdbro-c1nl9rpv. It is the same as the instance ID displayed on the TencentDB Console page. You can use the [instance list querying API](https://intl.cloud.tencent.com/document/api/236/15872?from_cn_redirect=1) to query the ID, whose value is the `InstanceId` value in output parameters.public String getEngineVersion()
public void setEngineVersion(String EngineVersion)
EngineVersion
- Version of primary instance database engine. Value range: 5.6, 5.7public Long getWaitSwitch()
public void setWaitSwitch(Long WaitSwitch)
WaitSwitch
- Mode of switch to a new instance. Value range: 0 (switch immediately), 1 (switch within a time window). Default value: 0. If the value is 1, the switch process will be performed within a time window. Or, you can call the [switching to new instance API](https://intl.cloud.tencent.com/document/product/236/15864?from_cn_redirect=1) to trigger the process.public Long getUpgradeSubversion()
public void setUpgradeSubversion(Long UpgradeSubversion)
UpgradeSubversion
- Whether to upgrade kernel minor version. Valid values: 1 (upgrade kernel minor version), 0 (upgrade database engine).public Long getMaxDelayTime()
public void setMaxDelayTime(Long MaxDelayTime)
MaxDelayTime
- Delay threshold. Value range: 1-10Copyright © 2023. All rights reserved.