public class ResetInstancesRequest extends AbstractModel
| Constructor and Description | 
|---|
| ResetInstancesRequest() | 
| ResetInstancesRequest(ResetInstancesRequest 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 | 
|---|---|
| EnhancedService | getEnhancedService()Get Whether to enable CM and CWP. | 
| String | getImageId()Get ID of the image from which to install the instance. | 
| String[] | getInstanceIdSet()Get List of IDs of the instances to be reinstalled. | 
| String | getKeepData()Get Whether to retain the data on the data disk. | 
| String | getKeepImageLogin()Get Whether to keep the original settings for the image. | 
| String | getPassword()Get Password. | 
| void | setEnhancedService(EnhancedService EnhancedService)Set Whether to enable CM and CWP. | 
| void | setImageId(String ImageId)Set ID of the image from which to install the instance. | 
| void | setInstanceIdSet(String[] InstanceIdSet)Set List of IDs of the instances to be reinstalled. | 
| void | setKeepData(String KeepData)Set Whether to retain the data on the data disk. | 
| void | setKeepImageLogin(String KeepImageLogin)Set Whether to keep the original settings for the image. | 
| void | setPassword(String Password)Set Password. | 
| 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, toJsonStringpublic ResetInstancesRequest()
public ResetInstancesRequest(ResetInstancesRequest source)
public String[] getInstanceIdSet()
public void setInstanceIdSet(String[] InstanceIdSet)
InstanceIdSet - List of IDs of the instances to be reinstalled.public String getImageId()
public void setImageId(String ImageId)
ImageId - ID of the image from which to install the instance. If this parameter is not specified, the current image of the instance will be used.public String getPassword()
public void setPassword(String Password)
Password - Password. If this parameter is not specified, the password will be subsequently displayed in the Message Center.public EnhancedService getEnhancedService()
public void setEnhancedService(EnhancedService EnhancedService)
EnhancedService - Whether to enable CM and CWP. If this parameter is not specified, they will be enabled by default.public String getKeepData()
public void setKeepData(String KeepData)
KeepData - Whether to retain the data on the data disk. Valid values: true, false. Default value: truepublic String getKeepImageLogin()
public void setKeepImageLogin(String KeepImageLogin)
KeepImageLogin - Whether to keep the original settings for the image. You cannot specify this parameter if `Password` or `KeyIds.N` is specified. You can specify this parameter as `TRUE` only when you create an instance by using a custom image, shared image, or image imported from an external resource. Valid values:
TRUE: yes
FALSE: no
Default value: FALSE.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2022. All rights reserved.