Class ParameterDetail
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.redis.v20180412.models.ParameterDetail
-
public class ParameterDetail extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ParameterDetail()ParameterDetail(ParameterDetail 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCurrentValue()Get 参数当前值。StringgetDefault()Get 参数默认值。StringgetDescription()Get 参数描述。String[]getEnumValue()Get 参数可选枚举值。如果为非枚举参数,则为空。 注意:此字段可能返回 null,表示取不到有效值。StringgetMax()Get 参数允许的最大值。 注意:此字段可能返回 null,表示取不到有效值。StringgetMin()Get 参数允许的最小值。 注意:此字段可能返回 null,表示取不到有效值。StringgetName()Get 参数名称。LonggetNeedReboot()Get 修改参数后,是否需要重启数据库以使参数生效。 - 0:不需要重启。 - 1:需要重启。StringgetParamType()Get 参数类型。voidsetCurrentValue(String CurrentValue)Set 参数当前值。voidsetDefault(String Default)Set 参数默认值。voidsetDescription(String Description)Set 参数描述。voidsetEnumValue(String[] EnumValue)Set 参数可选枚举值。如果为非枚举参数,则为空。 注意:此字段可能返回 null,表示取不到有效值。voidsetMax(String Max)Set 参数允许的最大值。 注意:此字段可能返回 null,表示取不到有效值。voidsetMin(String Min)Set 参数允许的最小值。 注意:此字段可能返回 null,表示取不到有效值。voidsetName(String Name)Set 参数名称。voidsetNeedReboot(Long NeedReboot)Set 修改参数后,是否需要重启数据库以使参数生效。 - 0:不需要重启。 - 1:需要重启。voidsetParamType(String ParamType)Set 参数类型。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
ParameterDetail
public ParameterDetail()
-
ParameterDetail
public ParameterDetail(ParameterDetail 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.
-
-
Method Detail
-
getName
public String getName()
Get 参数名称。- Returns:
- Name 参数名称。
-
setName
public void setName(String Name)
Set 参数名称。- Parameters:
Name- 参数名称。
-
getParamType
public String getParamType()
Get 参数类型。- Returns:
- ParamType 参数类型。
-
setParamType
public void setParamType(String ParamType)
Set 参数类型。- Parameters:
ParamType- 参数类型。
-
getDefault
public String getDefault()
Get 参数默认值。- Returns:
- Default 参数默认值。
-
setDefault
public void setDefault(String Default)
Set 参数默认值。- Parameters:
Default- 参数默认值。
-
getDescription
public String getDescription()
Get 参数描述。- Returns:
- Description 参数描述。
-
setDescription
public void setDescription(String Description)
Set 参数描述。- Parameters:
Description- 参数描述。
-
getCurrentValue
public String getCurrentValue()
Get 参数当前值。- Returns:
- CurrentValue 参数当前值。
-
setCurrentValue
public void setCurrentValue(String CurrentValue)
Set 参数当前值。- Parameters:
CurrentValue- 参数当前值。
-
getNeedReboot
public Long getNeedReboot()
Get 修改参数后,是否需要重启数据库以使参数生效。 - 0:不需要重启。 - 1:需要重启。- Returns:
- NeedReboot 修改参数后,是否需要重启数据库以使参数生效。 - 0:不需要重启。 - 1:需要重启。
-
setNeedReboot
public void setNeedReboot(Long NeedReboot)
Set 修改参数后,是否需要重启数据库以使参数生效。 - 0:不需要重启。 - 1:需要重启。- Parameters:
NeedReboot- 修改参数后,是否需要重启数据库以使参数生效。 - 0:不需要重启。 - 1:需要重启。
-
getMax
public String getMax()
Get 参数允许的最大值。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Max 参数允许的最大值。 注意:此字段可能返回 null,表示取不到有效值。
-
setMax
public void setMax(String Max)
Set 参数允许的最大值。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Max- 参数允许的最大值。 注意:此字段可能返回 null,表示取不到有效值。
-
getMin
public String getMin()
Get 参数允许的最小值。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Min 参数允许的最小值。 注意:此字段可能返回 null,表示取不到有效值。
-
setMin
public void setMin(String Min)
Set 参数允许的最小值。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Min- 参数允许的最小值。 注意:此字段可能返回 null,表示取不到有效值。
-
getEnumValue
public String[] getEnumValue()
Get 参数可选枚举值。如果为非枚举参数,则为空。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- EnumValue 参数可选枚举值。如果为非枚举参数,则为空。 注意:此字段可能返回 null,表示取不到有效值。
-
setEnumValue
public void setEnumValue(String[] EnumValue)
Set 参数可选枚举值。如果为非枚举参数,则为空。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
EnumValue- 参数可选枚举值。如果为非枚举参数,则为空。 注意:此字段可能返回 null,表示取不到有效值。
-
-