public class TerminateInstancesRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
TerminateInstancesRequest() |
TerminateInstancesRequest(TerminateInstancesRequest 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 |
getAssociatedResourceDestroy()
Get Whether to delete the bound ENI and EIP.
|
String[] |
getInstanceIdSet()
Get List of IDs of the instances to be terminated.
|
Boolean |
getTerminateDelay()
Get Whether to enable scheduled termination.
|
String |
getTerminateTime()
Get Scheduled termination time, such as `2019-08-05 12:01:30`.
|
void |
setAssociatedResourceDestroy(Boolean AssociatedResourceDestroy)
Set Whether to delete the bound ENI and EIP.
|
void |
setInstanceIdSet(String[] InstanceIdSet)
Set List of IDs of the instances to be terminated.
|
void |
setTerminateDelay(Boolean TerminateDelay)
Set Whether to enable scheduled termination.
|
void |
setTerminateTime(String TerminateTime)
Set Scheduled termination time, such as `2019-08-05 12:01:30`.
|
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 TerminateInstancesRequest()
public TerminateInstancesRequest(TerminateInstancesRequest source)
public String[] getInstanceIdSet()
public void setInstanceIdSet(String[] InstanceIdSet)
InstanceIdSet
- List of IDs of the instances to be terminated.public Boolean getTerminateDelay()
public void setTerminateDelay(Boolean TerminateDelay)
TerminateDelay
- Whether to enable scheduled termination. Default value: no.public String getTerminateTime()
public void setTerminateTime(String TerminateTime)
TerminateTime
- Scheduled termination time, such as `2019-08-05 12:01:30`. If you don't enable scheduled termination, you can ignore this parameter.public Boolean getAssociatedResourceDestroy()
public void setAssociatedResourceDestroy(Boolean AssociatedResourceDestroy)
AssociatedResourceDestroy
- Whether to delete the bound ENI and EIP. Default value: true.
true: the ENI and EIP will also be deleted;
false: only the server will be terminated, while the ENI and EIP will be retained.Copyright © 2024. All rights reserved.