public class ModifyInstanceParamRequest extends AbstractModel
Constructor and Description |
---|
ModifyInstanceParamRequest() |
Modifier and Type | Method and Description |
---|---|
String[] |
getInstanceIds()
Get List of short instance IDs.
|
Parameter[] |
getParamList()
Get List of parameters to be modified.
|
Long |
getTemplateId()
Get Template ID.
|
Long |
getWaitSwitch()
Get When to perform the parameter adjustment task.
|
void |
setInstanceIds(String[] InstanceIds)
Set List of short instance IDs.
|
void |
setParamList(Parameter[] ParamList)
Set List of parameters to be modified.
|
void |
setTemplateId(Long TemplateId)
Set Template ID.
|
void |
setWaitSwitch(Long WaitSwitch)
Set When to perform the parameter adjustment task.
|
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
- List of short instance IDs.public Parameter[] getParamList()
public void setParamList(Parameter[] ParamList)
ParamList
- List of parameters to be modified. Every element is a combination of `Name` (parameter name) and `CurrentValue` (new value).public Long getTemplateId()
public void setTemplateId(Long TemplateId)
TemplateId
- Template ID. At least one of `ParamList` and `TemplateId` must be passed in.public Long getWaitSwitch()
public void setWaitSwitch(Long WaitSwitch)
WaitSwitch
- When to perform the parameter adjustment task. Default value: 0. Valid values: 0 - execute immediately, 1 - execute during window. When its value is 1, only one instance ID can be passed in (i.e., only one `InstanceIds` can be passed in).Copyright © 2020. All rights reserved.