Class ClientConnection
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mongodb.v20180408.models.ClientConnection
-
public class ClientConnection extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description ClientConnection()
ClientConnection(ClientConnection 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 Long
getCount()
Get 对应客户端IP的连接数String
getIP()
Get 连接的客户端IPvoid
setCount(Long Count)
Set 对应客户端IP的连接数void
setIP(String IP)
Set 连接的客户端IPvoid
toMap(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
-
ClientConnection
public ClientConnection()
-
ClientConnection
public ClientConnection(ClientConnection 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
-
getIP
public String getIP()
Get 连接的客户端IP- Returns:
- IP 连接的客户端IP
-
setIP
public void setIP(String IP)
Set 连接的客户端IP- Parameters:
IP
- 连接的客户端IP
-
getCount
public Long getCount()
Get 对应客户端IP的连接数- Returns:
- Count 对应客户端IP的连接数
-
setCount
public void setCount(Long Count)
Set 对应客户端IP的连接数- Parameters:
Count
- 对应客户端IP的连接数
-
-