public class ModifyInstanceParamRequest extends AbstractModel
header, skipSign
Constructor and Description |
---|
ModifyInstanceParamRequest() |
ModifyInstanceParamRequest(ModifyInstanceParamRequest 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 |
---|---|
String[] |
getInstanceIds()
Get Instance ID list.
|
Parameter[] |
getParamList()
Get List of modified parameters.
|
Long |
getWaitSwitch()
Get When to execute the parameter modification task.
|
void |
setInstanceIds(String[] InstanceIds)
Set Instance ID list.
|
void |
setParamList(Parameter[] ParamList)
Set List of modified parameters.
|
void |
setWaitSwitch(Long WaitSwitch)
Set When to execute the parameter modification task.
|
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 ModifyInstanceParamRequest()
public ModifyInstanceParamRequest(ModifyInstanceParamRequest source)
public String[] getInstanceIds()
public void setInstanceIds(String[] InstanceIds)
InstanceIds
- Instance ID list.public Parameter[] getParamList()
public void setParamList(Parameter[] ParamList)
ParamList
- List of modified parameters. Each list element has two fields: `Name` and `CurrentValue`. Set `Name` to the parameter name and `CurrentValue` to the new value after modification. Note: if the instance needs to be restarted for the modified parameter to take effect, it will be restarted immediately or during the maintenance time. Before you modify a parameter, you can use the `DescribeInstanceParams` API to query whether the instance needs to be restarted.public Long getWaitSwitch()
public void setWaitSwitch(Long WaitSwitch)
WaitSwitch
- When to execute the parameter modification task. Valid values: `0` (execute immediately), `1` (execute during maintenance time). Default value: `0`.Copyright © 2024. All rights reserved.