Class InstanceParam
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.redis.v20180412.models.InstanceParam
-
public class InstanceParam extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description InstanceParam()InstanceParam(InstanceParam 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 StringgetKey()Get 设置参数的名称。例如timeout。当前支持自定义的参数,请参见参数配置。StringgetValue()Get 设置参数名称对应的运行值。例如timeout对应运行值可设置为120, 单位为秒(s)。指当客户端连接闲置时间达到120 s时,将关闭连接。更多参数取值信息,请参见参数配置。voidsetKey(String Key)Set 设置参数的名称。例如timeout。当前支持自定义的参数,请参见参数配置。voidsetValue(String Value)Set 设置参数名称对应的运行值。例如timeout对应运行值可设置为120, 单位为秒(s)。指当客户端连接闲置时间达到120 s时,将关闭连接。更多参数取值信息,请参见参数配置。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
-
InstanceParam
public InstanceParam()
-
InstanceParam
public InstanceParam(InstanceParam 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
-
getKey
public String getKey()
Get 设置参数的名称。例如timeout。当前支持自定义的参数,请参见参数配置。- Returns:
- Key 设置参数的名称。例如timeout。当前支持自定义的参数,请参见参数配置。
-
setKey
public void setKey(String Key)
Set 设置参数的名称。例如timeout。当前支持自定义的参数,请参见参数配置。- Parameters:
Key- 设置参数的名称。例如timeout。当前支持自定义的参数,请参见参数配置。
-
getValue
public String getValue()
Get 设置参数名称对应的运行值。例如timeout对应运行值可设置为120, 单位为秒(s)。指当客户端连接闲置时间达到120 s时,将关闭连接。更多参数取值信息,请参见参数配置。- Returns:
- Value 设置参数名称对应的运行值。例如timeout对应运行值可设置为120, 单位为秒(s)。指当客户端连接闲置时间达到120 s时,将关闭连接。更多参数取值信息,请参见参数配置。
-
setValue
public void setValue(String Value)
Set 设置参数名称对应的运行值。例如timeout对应运行值可设置为120, 单位为秒(s)。指当客户端连接闲置时间达到120 s时,将关闭连接。更多参数取值信息,请参见参数配置。- Parameters:
Value- 设置参数名称对应的运行值。例如timeout对应运行值可设置为120, 单位为秒(s)。指当客户端连接闲置时间达到120 s时,将关闭连接。更多参数取值信息,请参见参数配置。
-
-