public class AlarmTarget extends AbstractModel
Constructor and Description |
---|
AlarmTarget() |
AlarmTarget(AlarmTarget 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.
|
Modifier and Type | Method and Description |
---|---|
Long |
getEndTimeOffset()
Get 查询范围终止时间相对当前的历史时间,单位非分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
|
String |
getLogsetId()
Get 日志集ID。
|
Long |
getNumber()
Get 告警对象序号;从1开始递增。
|
String |
getQuery()
Get 查询语句。
|
Long |
getStartTimeOffset()
Get 查询范围起始时间相对当前的历史时间,单位非分钟,取值为非正,最大值为0,最小值为-1440。
|
String |
getTopicId()
Get 日志主题ID。
|
void |
setEndTimeOffset(Long EndTimeOffset)
Set 查询范围终止时间相对当前的历史时间,单位非分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
|
void |
setLogsetId(String LogsetId)
Set 日志集ID。
|
void |
setNumber(Long Number)
Set 告警对象序号;从1开始递增。
|
void |
setQuery(String Query)
Set 查询语句。
|
void |
setStartTimeOffset(Long StartTimeOffset)
Set 查询范围起始时间相对当前的历史时间,单位非分钟,取值为非正,最大值为0,最小值为-1440。
|
void |
setTopicId(String TopicId)
Set 日志主题ID。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public AlarmTarget()
public AlarmTarget(AlarmTarget source)
public String getTopicId()
public void setTopicId(String TopicId)
TopicId
- 日志主题ID。public String getQuery()
public void setQuery(String Query)
Query
- 查询语句。public Long getNumber()
public void setNumber(Long Number)
Number
- 告警对象序号;从1开始递增。public Long getStartTimeOffset()
public void setStartTimeOffset(Long StartTimeOffset)
StartTimeOffset
- 查询范围起始时间相对当前的历史时间,单位非分钟,取值为非正,最大值为0,最小值为-1440。public Long getEndTimeOffset()
public void setEndTimeOffset(Long EndTimeOffset)
EndTimeOffset
- 查询范围终止时间相对当前的历史时间,单位非分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。public String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId
- 日志集ID。Copyright © 2021. All rights reserved.