public class InstanceParam extends AbstractModel
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
String |
getKey()
Get 设置参数的名称。例如timeout。当前支持自定义的参数,请参见参数配置。
|
String |
getValue()
Get 设置参数名称对应的运行值。例如timeout对应运行值可设置为120, 单位为秒(s)。指当客户端连接闲置时间达到120 s时,将关闭连接。更多参数取值信息,请参见参数配置。
|
void |
setKey(String Key)
Set 设置参数的名称。例如timeout。当前支持自定义的参数,请参见参数配置。
|
void |
setValue(String Value)
Set 设置参数名称对应的运行值。例如timeout对应运行值可设置为120, 单位为秒(s)。指当客户端连接闲置时间达到120 s时,将关闭连接。更多参数取值信息,请参见参数配置。
|
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 InstanceParam()
public InstanceParam(InstanceParam source)
public String getKey()
public void setKey(String Key)
Key
- 设置参数的名称。例如timeout。当前支持自定义的参数,请参见参数配置。public String getValue()
public void setValue(String Value)
Value
- 设置参数名称对应的运行值。例如timeout对应运行值可设置为120, 单位为秒(s)。指当客户端连接闲置时间达到120 s时,将关闭连接。更多参数取值信息,请参见参数配置。Copyright © 2022. All rights reserved.