public class UpgradeDBInstanceEngineVersionRequest extends AbstractModel
Constructor and Description |
---|
UpgradeDBInstanceEngineVersionRequest() |
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 |
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 |
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 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://cloud.tencent.com/document/api/236/15872) 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://cloud.tencent.com/document/product/236/15864) 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).Copyright © 2020. All rights reserved.