Class SlowLogPattern
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.mongodb.v20190725.models.SlowLogPattern
-
public class SlowLogPattern extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description SlowLogPattern()SlowLogPattern(SlowLogPattern 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 LonggetAverageTime()Get 平均执行时间LonggetMaxTime()Get 最大执行时间StringgetPattern()Get 慢日志模式LonggetTotal()Get 该模式慢日志条数voidsetAverageTime(Long AverageTime)Set 平均执行时间voidsetMaxTime(Long MaxTime)Set 最大执行时间voidsetPattern(String Pattern)Set 慢日志模式voidsetTotal(Long Total)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
-
SlowLogPattern
public SlowLogPattern()
-
SlowLogPattern
public SlowLogPattern(SlowLogPattern 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
-
getPattern
public String getPattern()
Get 慢日志模式- Returns:
- Pattern 慢日志模式
-
setPattern
public void setPattern(String Pattern)
Set 慢日志模式- Parameters:
Pattern- 慢日志模式
-
getMaxTime
public Long getMaxTime()
Get 最大执行时间- Returns:
- MaxTime 最大执行时间
-
setMaxTime
public void setMaxTime(Long MaxTime)
Set 最大执行时间- Parameters:
MaxTime- 最大执行时间
-
getAverageTime
public Long getAverageTime()
Get 平均执行时间- Returns:
- AverageTime 平均执行时间
-
setAverageTime
public void setAverageTime(Long AverageTime)
Set 平均执行时间- Parameters:
AverageTime- 平均执行时间
-
getTotal
public Long getTotal()
Get 该模式慢日志条数- Returns:
- Total 该模式慢日志条数
-
setTotal
public void setTotal(Long Total)
Set 该模式慢日志条数- Parameters:
Total- 该模式慢日志条数
-
-