public class StopInstancesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
StopInstancesRequest() |
StopInstancesRequest(StopInstancesRequest 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 |
getForceStop()
Get Whether to force shut down the instance after it failed to be shut down normally.
|
String[] |
getInstanceIdSet()
Get List of IDs of the instances to be shut down.
|
String |
getStopType()
Get Instance shutdown mode.
|
void |
setForceStop(Boolean ForceStop)
Set Whether to force shut down the instance after it failed to be shut down normally.
|
void |
setInstanceIdSet(String[] InstanceIdSet)
Set List of IDs of the instances to be shut down.
|
void |
setStopType(String StopType)
Set Instance shutdown mode.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public StopInstancesRequest()
public StopInstancesRequest(StopInstancesRequest source)
public String[] getInstanceIdSet()
public void setInstanceIdSet(String[] InstanceIdSet)
InstanceIdSet
- List of IDs of the instances to be shut down. You can request up to 100 instances in a region at a time.public Boolean getForceStop()
public void setForceStop(Boolean ForceStop)
ForceStop
- Whether to force shut down the instance after it failed to be shut down normally. Default value: false: no.public String getStopType()
public void setStopType(String StopType)
StopType
- Instance shutdown mode. Valid values:
SOFT_FIRST: perform a forced shutdown in case of a failure of the normal shutdown;
HARD: forced shutdown;
SOFT: Soft shutdown;
Default value: SOFT.Copyright © 2024. All rights reserved.