Class EventConfig
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.sqlserver.v20180328.models.EventConfig
-
public class EventConfig extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description EventConfig()
EventConfig(EventConfig 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 String
getEventType()
Get 事件类型,slow-设置慢SQL阈值,blocked-设置阻塞、死锁阈值Long
getThreshold()
Get 阈值,单位毫秒。0表示关闭,大于0表示开启void
setEventType(String EventType)
Set 事件类型,slow-设置慢SQL阈值,blocked-设置阻塞、死锁阈值void
setThreshold(Long Threshold)
Set 阈值,单位毫秒。0表示关闭,大于0表示开启void
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
-
EventConfig
public EventConfig()
-
EventConfig
public EventConfig(EventConfig 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
-
getEventType
public String getEventType()
Get 事件类型,slow-设置慢SQL阈值,blocked-设置阻塞、死锁阈值- Returns:
- EventType 事件类型,slow-设置慢SQL阈值,blocked-设置阻塞、死锁阈值
-
setEventType
public void setEventType(String EventType)
Set 事件类型,slow-设置慢SQL阈值,blocked-设置阻塞、死锁阈值- Parameters:
EventType
- 事件类型,slow-设置慢SQL阈值,blocked-设置阻塞、死锁阈值
-
getThreshold
public Long getThreshold()
Get 阈值,单位毫秒。0表示关闭,大于0表示开启- Returns:
- Threshold 阈值,单位毫秒。0表示关闭,大于0表示开启
-
setThreshold
public void setThreshold(Long Threshold)
Set 阈值,单位毫秒。0表示关闭,大于0表示开启- Parameters:
Threshold
- 阈值,单位毫秒。0表示关闭,大于0表示开启
-
-