Class EventInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.dbbrain.v20191016.models.EventInfo
-
public class EventInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetCount()Get 告警数目。StringgetDiagType()Get 诊断类型。StringgetEndTime()Get 结束时间。LonggetEventId()Get 事件 ID 。StringgetMetric()Get 保留字段。StringgetOutline()Get 概要。LonggetScoreLost()Get 扣分。LonggetSeverity()Get 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。StringgetStartTime()Get 开始时间。voidsetCount(Long Count)Set 告警数目。voidsetDiagType(String DiagType)Set 诊断类型。voidsetEndTime(String EndTime)Set 结束时间。voidsetEventId(Long EventId)Set 事件 ID 。voidsetMetric(String Metric)Set 保留字段。voidsetOutline(String Outline)Set 概要。voidsetScoreLost(Long ScoreLost)Set 扣分。voidsetSeverity(Long Severity)Set 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。voidsetStartTime(String StartTime)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
-
EventInfo
public EventInfo()
-
EventInfo
public EventInfo(EventInfo 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
-
getEventId
public Long getEventId()
Get 事件 ID 。- Returns:
- EventId 事件 ID 。
-
setEventId
public void setEventId(Long EventId)
Set 事件 ID 。- Parameters:
EventId- 事件 ID 。
-
getDiagType
public String getDiagType()
Get 诊断类型。- Returns:
- DiagType 诊断类型。
-
setDiagType
public void setDiagType(String DiagType)
Set 诊断类型。- Parameters:
DiagType- 诊断类型。
-
getStartTime
public String getStartTime()
Get 开始时间。- Returns:
- StartTime 开始时间。
-
setStartTime
public void setStartTime(String StartTime)
Set 开始时间。- Parameters:
StartTime- 开始时间。
-
getEndTime
public String getEndTime()
Get 结束时间。- Returns:
- EndTime 结束时间。
-
setEndTime
public void setEndTime(String EndTime)
Set 结束时间。- Parameters:
EndTime- 结束时间。
-
getOutline
public String getOutline()
Get 概要。- Returns:
- Outline 概要。
-
setOutline
public void setOutline(String Outline)
Set 概要。- Parameters:
Outline- 概要。
-
getSeverity
public Long getSeverity()
Get 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。- Returns:
- Severity 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。
-
setSeverity
public void setSeverity(Long Severity)
Set 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。- Parameters:
Severity- 严重程度。严重程度分为5级,按影响程度从高至低分别为:1:致命,2:严重,3:告警,4:提示,5:健康。
-
getScoreLost
public Long getScoreLost()
Get 扣分。- Returns:
- ScoreLost 扣分。
-
setScoreLost
public void setScoreLost(Long ScoreLost)
Set 扣分。- Parameters:
ScoreLost- 扣分。
-
getMetric
public String getMetric()
Get 保留字段。- Returns:
- Metric 保留字段。
-
setMetric
public void setMetric(String Metric)
Set 保留字段。- Parameters:
Metric- 保留字段。
-
getCount
public Long getCount()
Get 告警数目。- Returns:
- Count 告警数目。
-
setCount
public void setCount(Long Count)
Set 告警数目。- Parameters:
Count- 告警数目。
-
-