public class RebootInstancesRequest extends AbstractModel
| Constructor and Description | 
|---|
| RebootInstancesRequest() | 
| RebootInstancesRequest(RebootInstancesRequest 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 | 
|---|---|
| Boolean | getForceReboot()Get Whether to force restart the instance after it failed to be restarted normally. | 
| String[] | getInstanceIdSet()Get List of IDs of the instances to be restarted. | 
| String | getStopType()Get Shutdown type. | 
| void | setForceReboot(Boolean ForceReboot)Set Whether to force restart the instance after it failed to be restarted normally. | 
| void | setInstanceIdSet(String[] InstanceIdSet)Set List of IDs of the instances to be restarted. | 
| void | setStopType(String StopType)Set Shutdown 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, toJsonStringpublic RebootInstancesRequest()
public RebootInstancesRequest(RebootInstancesRequest source)
public String[] getInstanceIdSet()
public void setInstanceIdSet(String[] InstanceIdSet)
InstanceIdSet - List of IDs of the instances to be restarted. You can request up to 100 instances in a region at a time.public Boolean getForceReboot()
public void setForceReboot(Boolean ForceReboot)
ForceReboot - Whether to force restart the instance after it failed to be restarted normally. Valid values:
TRUE: yes;
FALSE: no;
Default value: FALSE.public String getStopType()
public void setStopType(String StopType)
StopType - Shutdown type. Valid values:
SOFT: soft shutdown
HARD: hard shutdown
SOFT_FIRST: perform a soft shutdown first; if it fails, perform a hard shutdown
Default value: SOFT.Copyright © 2022. All rights reserved.