Class SlowLogHost
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20191016.models.SlowLogHost
-
public class SlowLogHost extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SlowLogHost()SlowLogHost(SlowLogHost 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 LonggetCount()Get 该来源地址的慢日志数目。FloatgetRatio()Get 该来源地址的慢日志数目占总数目的比例,单位%。StringgetUserHost()Get 来源地址。voidsetCount(Long Count)Set 该来源地址的慢日志数目。voidsetRatio(Float Ratio)Set 该来源地址的慢日志数目占总数目的比例,单位%。voidsetUserHost(String UserHost)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
-
SlowLogHost
public SlowLogHost()
-
SlowLogHost
public SlowLogHost(SlowLogHost 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
-
getUserHost
public String getUserHost()
Get 来源地址。- Returns:
- UserHost 来源地址。
-
setUserHost
public void setUserHost(String UserHost)
Set 来源地址。- Parameters:
UserHost- 来源地址。
-
getRatio
public Float getRatio()
Get 该来源地址的慢日志数目占总数目的比例,单位%。- Returns:
- Ratio 该来源地址的慢日志数目占总数目的比例,单位%。
-
setRatio
public void setRatio(Float Ratio)
Set 该来源地址的慢日志数目占总数目的比例,单位%。- Parameters:
Ratio- 该来源地址的慢日志数目占总数目的比例,单位%。
-
getCount
public Long getCount()
Get 该来源地址的慢日志数目。- Returns:
- Count 该来源地址的慢日志数目。
-
setCount
public void setCount(Long Count)
Set 该来源地址的慢日志数目。- Parameters:
Count- 该来源地址的慢日志数目。
-
-