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 |
---|---|
Boolean |
getAdvanced()
Get Whether it is a key parameter.
|
String |
getClassificationCN()
Get Parameter category in Chinese
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getClassificationEN()
Get Parameter category in English
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getCurrentValue()
Get Current value of the parameter, which is returned as a string
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getDefaultValue()
Get Default value of the parameter, which is returned as a string
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String[] |
getEnumValue()
Get Value range of the enum parameter
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Long |
getID()
Get Parameter ID
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getLastModifyTime()
Get The last modified time of the parameter
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Float |
getMax()
Get The maximum value of the `integer` or `real` parameter
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Float |
getMin()
Get The minimum value of the `integer` or `real` parameter
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getName()
Get Parameter name
Note: this field may return `null`, indicating that no valid values can be obtained.
|
Boolean |
getNeedReboot()
Get Whether to restart the instance for the modified parameter to take effect.
|
String |
getParamDescriptionCH()
Get Parameter description in Chinese
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getParamDescriptionEN()
Get Parameter description in English
Note: this field may return `null`, indicating that no valid values can be obtained.
|
String |
getParamValueType()
Get Value type of the parameter.
|
Boolean |
getSpecRelated()
Get Whether the parameter is related to specifications.
|
ParamSpecRelation[] |
getSpecRelationSet()
Get Associated parameter specification information, which refers to the detailed parameter information of the specifications.
|
Long |
getStandbyRelated()
Get Primary-standby constraint.
|
String |
getUnit()
Get Unit of the parameter value.
|
ParamVersionRelation[] |
getVersionRelationSet()
Get Associated parameter version information, which refers to the detailed parameter information of the kernel version.
|
void |
setAdvanced(Boolean Advanced)
Set Whether it is a key parameter.
|
void |
setClassificationCN(String ClassificationCN)
Set Parameter category in Chinese
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setClassificationEN(String ClassificationEN)
Set Parameter category in English
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setCurrentValue(String CurrentValue)
Set Current value of the parameter, which is returned as a string
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setDefaultValue(String DefaultValue)
Set Default value of the parameter, which is returned as a string
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setEnumValue(String[] EnumValue)
Set Value range of the enum parameter
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setID(Long ID)
Set Parameter ID
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setLastModifyTime(String LastModifyTime)
Set The last modified time of the parameter
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setMax(Float Max)
Set The maximum value of the `integer` or `real` parameter
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setMin(Float Min)
Set The minimum value of the `integer` or `real` parameter
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setName(String Name)
Set Parameter name
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setNeedReboot(Boolean NeedReboot)
Set Whether to restart the instance for the modified parameter to take effect.
|
void |
setParamDescriptionCH(String ParamDescriptionCH)
Set Parameter description in Chinese
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setParamDescriptionEN(String ParamDescriptionEN)
Set Parameter description in English
Note: this field may return `null`, indicating that no valid values can be obtained.
|
void |
setParamValueType(String ParamValueType)
Set Value type of the parameter.
|
void |
setSpecRelated(Boolean SpecRelated)
Set Whether the parameter is related to specifications.
|
void |
setSpecRelationSet(ParamSpecRelation[] SpecRelationSet)
Set Associated parameter specification information, which refers to the detailed parameter information of the specifications.
|
void |
setStandbyRelated(Long StandbyRelated)
Set Primary-standby constraint.
|
void |
setUnit(String Unit)
Set Unit of the parameter value.
|
void |
setVersionRelationSet(ParamVersionRelation[] VersionRelationSet)
Set Associated parameter version information, which refers to the detailed parameter information of the kernel version.
|
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 ParamInfo()
public ParamInfo(ParamInfo source)
public Long getID()
public void setID(Long ID)
ID
- Parameter ID
Note: this field may return `null`, indicating that no valid values can be obtained.public String getName()
public void setName(String Name)
Name
- Parameter name
Note: this field may return `null`, indicating that no valid values can be obtained.public String getParamValueType()
public void setParamValueType(String ParamValueType)
ParamValueType
- Value type of the parameter. Valid values: `integer`, `real` (floating-point), `bool`, `enum`, `mutil_enum` (this type of parameter can be set to multiple enumerated values).
For an `integer` or `real` parameter, the `Min` field represents the minimum value and the `Max` field the maximum value.
For a `bool` parameter, the valid values include `true` and `false`;
For an `enum` or `mutil_enum` parameter, the `EnumValue` field represents the valid values.
Note: this field may return `null`, indicating that no valid values can be obtained.public String getUnit()
public void setUnit(String Unit)
Unit
- Unit of the parameter value. If the parameter has no unit, this field will return null.
Note: This field may return null, indicating that no valid values can be obtained.public String getDefaultValue()
public void setDefaultValue(String DefaultValue)
DefaultValue
- Default value of the parameter, which is returned as a string
Note: this field may return `null`, indicating that no valid values can be obtained.public String getCurrentValue()
public void setCurrentValue(String CurrentValue)
CurrentValue
- Current value of the parameter, which is returned as a string
Note: this field may return `null`, indicating that no valid values can be obtained.public Float getMax()
public void setMax(Float Max)
Max
- The maximum value of the `integer` or `real` parameter
Note: this field may return `null`, indicating that no valid values can be obtained.public String[] getEnumValue()
public void setEnumValue(String[] EnumValue)
EnumValue
- Value range of the enum parameter
Note: this field may return `null`, indicating that no valid values can be obtained.public Float getMin()
public void setMin(Float Min)
Min
- The minimum value of the `integer` or `real` parameter
Note: this field may return `null`, indicating that no valid values can be obtained.public String getParamDescriptionCH()
public void setParamDescriptionCH(String ParamDescriptionCH)
ParamDescriptionCH
- Parameter description in Chinese
Note: this field may return `null`, indicating that no valid values can be obtained.public String getParamDescriptionEN()
public void setParamDescriptionEN(String ParamDescriptionEN)
ParamDescriptionEN
- Parameter description in English
Note: this field may return `null`, indicating that no valid values can be obtained.public Boolean getNeedReboot()
public void setNeedReboot(Boolean NeedReboot)
NeedReboot
- Whether to restart the instance for the modified parameter to take effect. Valid values: `true` (yes), `false` (no)
Note: this field may return `null`, indicating that no valid values can be obtained.public String getClassificationCN()
public void setClassificationCN(String ClassificationCN)
ClassificationCN
- Parameter category in Chinese
Note: this field may return `null`, indicating that no valid values can be obtained.public String getClassificationEN()
public void setClassificationEN(String ClassificationEN)
ClassificationEN
- Parameter category in English
Note: this field may return `null`, indicating that no valid values can be obtained.public Boolean getSpecRelated()
public void setSpecRelated(Boolean SpecRelated)
SpecRelated
- Whether the parameter is related to specifications. Valid values: `true` (yes), `false` (no)
Note: this field may return `null`, indicating that no valid values can be obtained.public Boolean getAdvanced()
public void setAdvanced(Boolean Advanced)
Advanced
- Whether it is a key parameter. Valid values: `true` (yes, and modifying it may affect instance performance), `false` (no)
Note: this field may return `null`, indicating that no valid values can be obtained.public String getLastModifyTime()
public void setLastModifyTime(String LastModifyTime)
LastModifyTime
- The last modified time of the parameter
Note: this field may return `null`, indicating that no valid values can be obtained.public Long getStandbyRelated()
public void setStandbyRelated(Long StandbyRelated)
StandbyRelated
- Primary-standby constraint. Valid values: `0` (no constraint), `1` (The parameter value of the standby server must be greater than that of the primary server), `2` (The parameter value of the primary server must be greater than that of the standby server.)
Note: This field may return null, indicating that no valid values can be obtained.public ParamVersionRelation[] getVersionRelationSet()
public void setVersionRelationSet(ParamVersionRelation[] VersionRelationSet)
VersionRelationSet
- Associated parameter version information, which refers to the detailed parameter information of the kernel version.
Note: This field may return null, indicating that no valid values can be obtained.public ParamSpecRelation[] getSpecRelationSet()
public void setSpecRelationSet(ParamSpecRelation[] SpecRelationSet)
SpecRelationSet
- Associated parameter specification information, which refers to the detailed parameter information of the specifications.
Note: This field may return null, indicating that no valid values can be obtained.Copyright © 2023. All rights reserved.