public class UpgradeInstanceVersionRequest extends AbstractModel
Constructor and Description |
---|
UpgradeInstanceVersionRequest() |
Modifier and Type | Method and Description |
---|---|
String |
getInstanceId()
Get Instance ID
|
Long |
getSwitchOption()
Get Switch mode.
|
String |
getTargetInstanceType()
Get Target instance type.
|
void |
setInstanceId(String InstanceId)
Set Instance ID
|
void |
setSwitchOption(Long SwitchOption)
Set Switch mode.
|
void |
setTargetInstanceType(String TargetInstanceType)
Set Target instance type.
|
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 String getTargetInstanceType()
public void setTargetInstanceType(String TargetInstanceType)
TargetInstanceType
- Target instance type. Its value is the same as the `Type` parameter of the `CreateInstances` API.public Long getSwitchOption()
public void setSwitchOption(Long SwitchOption)
SwitchOption
- Switch mode. Valid values: 1 (switch during the maintenance window), 2 (switch immediately).public String getInstanceId()
public void setInstanceId(String InstanceId)
InstanceId
- Instance IDCopyright © 2020. All rights reserved.