public class RebootInstancesRequest extends AbstractModel
Constructor and Description |
---|
RebootInstancesRequest() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getForceReboot()
Get Whether to force restart an instance after a normal restart fails.
|
String[] |
getInstanceIds()
Get Instance ID(s).
|
String |
getStopType()
Get Shutdown type.
|
void |
setForceReboot(Boolean ForceReboot)
Set Whether to force restart an instance after a normal restart fails.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance ID(s).
|
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, toJsonString
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance ID(s). To obtain the instance IDs, you can call [`DescribeInstances`](https://cloud.tencent.com/document/api/213/15728) and look for `InstanceId` in the response. The maximum number of instances in each request is 100.public Boolean getForceReboot()
public void setForceReboot(Boolean ForceReboot)
ForceReboot
- Whether to force restart an instance after a normal restart fails. Valid values: public String getStopType()
public void setStopType(String StopType)
StopType
- Shutdown type. Valid values: Copyright © 2020. All rights reserved.