public class ParamInfo extends AbstractModel
| Constructor and Description | 
|---|
| ParamInfo() | 
| ParamInfo(ParamInfo 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 | getCurrentValue()Get Current value | 
| String | getDefault()Get Default value | 
| String | getDescription()Get Parameter description | 
| String[] | getEnumValue()Get List of valid values when parameter type is `enum`, `string` or `bool`. | 
| String | getMatchType()Get Match type. | 
| String | getMatchValue()Get Match values, which will be separated by semicolon when match type is `multiVal`. | 
| String | getMax()Get Maximum value when parameter type is `float` or `integer`. | 
| String | getMin()Get Minimum value when parameter type is `float` or `integer`. | 
| Long | getNeedReboot()Get Whether to restart the instance for the modified parameters to take effect. | 
| String | getParamName()Get Parameter name | 
| String | getParamType()Get Parameter type: `integer`, `float`, `string`, `enum`, `bool`. | 
| void | setCurrentValue(String CurrentValue)Set Current value | 
| void | setDefault(String Default)Set Default value | 
| void | setDescription(String Description)Set Parameter description | 
| void | setEnumValue(String[] EnumValue)Set List of valid values when parameter type is `enum`, `string` or `bool`. | 
| void | setMatchType(String MatchType)Set Match type. | 
| void | setMatchValue(String MatchValue)Set Match values, which will be separated by semicolon when match type is `multiVal`. | 
| void | setMax(String Max)Set Maximum value when parameter type is `float` or `integer`. | 
| void | setMin(String Min)Set Minimum value when parameter type is `float` or `integer`. | 
| void | setNeedReboot(Long NeedReboot)Set Whether to restart the instance for the modified parameters to take effect. | 
| void | setParamName(String ParamName)Set Parameter name | 
| void | setParamType(String ParamType)Set Parameter type: `integer`, `float`, `string`, `enum`, `bool`. | 
| 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, toJsonStringpublic ParamInfo()
public ParamInfo(ParamInfo source)
public String getCurrentValue()
public void setCurrentValue(String CurrentValue)
CurrentValue - Current valuepublic String getDefault()
public void setDefault(String Default)
Default - Default valuepublic String[] getEnumValue()
public void setEnumValue(String[] EnumValue)
EnumValue - List of valid values when parameter type is `enum`, `string` or `bool`.
Note: This field may return null, indicating that no valid values can be obtained.public String getMax()
public void setMax(String Max)
Max - Maximum value when parameter type is `float` or `integer`.public String getMin()
public void setMin(String Min)
Min - Minimum value when parameter type is `float` or `integer`.public String getParamName()
public void setParamName(String ParamName)
ParamName - Parameter namepublic Long getNeedReboot()
public void setNeedReboot(Long NeedReboot)
NeedReboot - Whether to restart the instance for the modified parameters to take effect.public String getParamType()
public void setParamType(String ParamType)
ParamType - Parameter type: `integer`, `float`, `string`, `enum`, `bool`.public String getMatchType()
public void setMatchType(String MatchType)
MatchType - Match type. Regex can be used when parameter type is `string`. Valid value: `multiVal`.public String getMatchValue()
public void setMatchValue(String MatchValue)
MatchValue - Match values, which will be separated by semicolon when match type is `multiVal`.public String getDescription()
public void setDescription(String Description)
Description - Parameter descriptionCopyright © 2022. All rights reserved.