public class UpgradeInstanceVersionRequest extends AbstractModel
Constructor and Description |
---|
UpgradeInstanceVersionRequest() |
UpgradeInstanceVersionRequest(UpgradeInstanceVersionRequest 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 Instance ID
|
Long |
getSwitchOption()
Get Switch mode.
|
String |
getTargetInstanceType()
Get Target instance type after the change, which is the same as the `Type` of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setSwitchOption(Long SwitchOption)
Set Switch mode.
|
void |
setTargetInstanceType(String TargetInstanceType)
Set Target instance type after the change, which is the same as the `Type` of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.
|
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 UpgradeInstanceVersionRequest()
public UpgradeInstanceVersionRequest(UpgradeInstanceVersionRequest source)
public String getTargetInstanceType()
public void setTargetInstanceType(String TargetInstanceType)
TargetInstanceType
- Target instance type after the change, which is the same as the `Type` of the [CreateInstances](https://intl.cloud.tencent.com/document/api/239/20026?from_cn_redirect=1) API.public Long getSwitchOption()
public void setSwitchOption(Long SwitchOption)
SwitchOption
- Switch mode. Valid values: 1 (switch during the maintenance time), 2 (switch now).public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDCopyright © 2023. All rights reserved.