public class AlarmTargetInfo extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AlarmTargetInfo() | 
| AlarmTargetInfo(AlarmTargetInfo 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 | getBizType()Get 主题类型。
0: 日志主题,1: 指标主题 | 
| Long | getEndTimeOffset()Get 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。 | 
| String | getLogsetId()Get 日志集ID。 | 
| String | getLogsetName()Get 日志集名称。 | 
| Long | getNumber()Get 告警对象序号。 | 
| String | getQuery()Get 查询语句。 | 
| Long | getStartTimeOffset()Get 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。 | 
| Long | getSyntaxRule()Get 检索语法规则,默认值为0。
0:Lucene语法,1:CQL语法。
详细说明参见检索条件语法规则 | 
| String | getTopicId()Get 日志主题ID。 | 
| String | getTopicName()Get 日志主题名称。 | 
| void | setBizType(Long BizType)Set 主题类型。
0: 日志主题,1: 指标主题 | 
| void | setEndTimeOffset(Long EndTimeOffset)Set 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。 | 
| void | setLogsetId(String LogsetId)Set 日志集ID。 | 
| void | setLogsetName(String LogsetName)Set 日志集名称。 | 
| void | setNumber(Long Number)Set 告警对象序号。 | 
| void | setQuery(String Query)Set 查询语句。 | 
| void | setStartTimeOffset(Long StartTimeOffset)Set 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。 | 
| void | setSyntaxRule(Long SyntaxRule)Set 检索语法规则,默认值为0。
0:Lucene语法,1:CQL语法。
详细说明参见检索条件语法规则 | 
| void | setTopicId(String TopicId)Set 日志主题ID。 | 
| void | setTopicName(String TopicName)Set 日志主题名称。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AlarmTargetInfo()
public AlarmTargetInfo(AlarmTargetInfo source)
public String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId - 日志集ID。public String getLogsetName()
public void setLogsetName(String LogsetName)
LogsetName - 日志集名称。public String getTopicId()
public void setTopicId(String TopicId)
TopicId - 日志主题ID。public String getTopicName()
public void setTopicName(String TopicName)
TopicName - 日志主题名称。public String getQuery()
public void setQuery(String Query)
Query - 查询语句。public Long getNumber()
public void setNumber(Long Number)
Number - 告警对象序号。public Long getStartTimeOffset()
public void setStartTimeOffset(Long StartTimeOffset)
StartTimeOffset - 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。public Long getEndTimeOffset()
public void setEndTimeOffset(Long EndTimeOffset)
EndTimeOffset - 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。public Long getSyntaxRule()
public void setSyntaxRule(Long SyntaxRule)
SyntaxRule - 检索语法规则,默认值为0。
0:Lucene语法,1:CQL语法。
详细说明参见检索条件语法规则public Long getBizType()
public void setBizType(Long BizType)
BizType - 主题类型。
0: 日志主题,1: 指标主题Copyright © 2025. All rights reserved.