Class ClientConnection
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mongodb.v20190725.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的连接数Boolean
getInternalService()
Get 是否为内部ipString
getIP()
Get 连接的客户端IPvoid
setCount(Long Count)
Set 对应客户端IP的连接数void
setInternalService(Boolean InternalService)
Set 是否为内部ipvoid
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的连接数
-
getInternalService
public Boolean getInternalService()
Get 是否为内部ip- Returns:
- InternalService 是否为内部ip
-
setInternalService
public void setInternalService(Boolean InternalService)
Set 是否为内部ip- Parameters:
InternalService
- 是否为内部ip
-
-