public class UpgradeDBInstanceKernelVersionRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
UpgradeDBInstanceKernelVersionRequest() |
UpgradeDBInstanceKernelVersionRequest(UpgradeDBInstanceKernelVersionRequest 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 |
getDBInstanceId()
Get Instance ID
|
Boolean |
getDryRun()
Get Whether to perform a pre-check on the current operation of upgrading the instance kernel version.
|
String |
getSwitchEndTime()
Get Switch end time in the format of `HH:MM:SS`, such as 01:30:00.
|
String |
getSwitchStartTime()
Get Switch start time in the format of `HH:MM:SS`, such as 01:00:00.
|
Long |
getSwitchTag()
Get Switch time after the kernel version upgrade for the specified instance.
|
String |
getTargetDBKernelVersion()
Get Target kernel version, which can be obtained in the `AvailableUpgradeTarget` field in the returned value of the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API.
|
void |
setDBInstanceId(String DBInstanceId)
Set Instance ID
|
void |
setDryRun(Boolean DryRun)
Set Whether to perform a pre-check on the current operation of upgrading the instance kernel version.
|
void |
setSwitchEndTime(String SwitchEndTime)
Set Switch end time in the format of `HH:MM:SS`, such as 01:30:00.
|
void |
setSwitchStartTime(String SwitchStartTime)
Set Switch start time in the format of `HH:MM:SS`, such as 01:00:00.
|
void |
setSwitchTag(Long SwitchTag)
Set Switch time after the kernel version upgrade for the specified instance.
|
void |
setTargetDBKernelVersion(String TargetDBKernelVersion)
Set Target kernel version, which can be obtained in the `AvailableUpgradeTarget` field in the returned value of the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API.
|
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 UpgradeDBInstanceKernelVersionRequest()
public UpgradeDBInstanceKernelVersionRequest(UpgradeDBInstanceKernelVersionRequest source)
public String getDBInstanceId()
public void setDBInstanceId(String DBInstanceId)
DBInstanceId
- Instance IDpublic String getTargetDBKernelVersion()
public void setTargetDBKernelVersion(String TargetDBKernelVersion)
TargetDBKernelVersion
- Target kernel version, which can be obtained in the `AvailableUpgradeTarget` field in the returned value of the [DescribeDBVersions](https://intl.cloud.tencent.com/document/api/409/89018?from_cn_redirect=1) API.public Long getSwitchTag()
public void setSwitchTag(Long SwitchTag)
SwitchTag
- Switch time after the kernel version upgrade for the specified instance. Valid values:
public String getSwitchStartTime()
public void setSwitchStartTime(String SwitchStartTime)
SwitchStartTime
- Switch start time in the format of `HH:MM:SS`, such as 01:00:00. When `SwitchTag` is `0` or `2`, this parameter is invalid.public String getSwitchEndTime()
public void setSwitchEndTime(String SwitchEndTime)
SwitchEndTime
- Switch end time in the format of `HH:MM:SS`, such as 01:30:00. When `SwitchTag` is `0` or `2`, this parameter is invalid. The difference between `SwitchStartTime` and `SwitchEndTime` cannot be less than 30 minutes.public Boolean getDryRun()
public void setDryRun(Boolean DryRun)
DryRun
- Whether to perform a pre-check on the current operation of upgrading the instance kernel version. Valid values:
u200cCopyright © 2024. All rights reserved.