Class AlarmTargetInfo
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.AlarmTargetInfo
-
public class AlarmTargetInfo extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetEndTimeOffset()Get 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。StringgetLogsetId()Get 日志集ID。StringgetLogsetName()Get 日志集名称。LonggetNumber()Get 告警对象序号。StringgetQuery()Get 查询语句。LonggetStartTimeOffset()Get 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。StringgetTopicId()Get 日志主题ID。StringgetTopicName()Get 日志主题名称。voidsetEndTimeOffset(Long EndTimeOffset)Set 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。voidsetLogsetId(String LogsetId)Set 日志集ID。voidsetLogsetName(String LogsetName)Set 日志集名称。voidsetNumber(Long Number)Set 告警对象序号。voidsetQuery(String Query)Set 查询语句。voidsetStartTimeOffset(Long StartTimeOffset)Set 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。voidsetTopicId(String TopicId)Set 日志主题ID。voidsetTopicName(String TopicName)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
-
AlarmTargetInfo
public AlarmTargetInfo()
-
AlarmTargetInfo
public 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.
-
-
Method Detail
-
getLogsetId
public String getLogsetId()
Get 日志集ID。- Returns:
- LogsetId 日志集ID。
-
setLogsetId
public void setLogsetId(String LogsetId)
Set 日志集ID。- Parameters:
LogsetId- 日志集ID。
-
getLogsetName
public String getLogsetName()
Get 日志集名称。- Returns:
- LogsetName 日志集名称。
-
setLogsetName
public void setLogsetName(String LogsetName)
Set 日志集名称。- Parameters:
LogsetName- 日志集名称。
-
getTopicId
public String getTopicId()
Get 日志主题ID。- Returns:
- TopicId 日志主题ID。
-
setTopicId
public void setTopicId(String TopicId)
Set 日志主题ID。- Parameters:
TopicId- 日志主题ID。
-
getTopicName
public String getTopicName()
Get 日志主题名称。- Returns:
- TopicName 日志主题名称。
-
setTopicName
public void setTopicName(String TopicName)
Set 日志主题名称。- Parameters:
TopicName- 日志主题名称。
-
getQuery
public String getQuery()
Get 查询语句。- Returns:
- Query 查询语句。
-
setQuery
public void setQuery(String Query)
Set 查询语句。- Parameters:
Query- 查询语句。
-
getNumber
public Long getNumber()
Get 告警对象序号。- Returns:
- Number 告警对象序号。
-
setNumber
public void setNumber(Long Number)
Set 告警对象序号。- Parameters:
Number- 告警对象序号。
-
getStartTimeOffset
public Long getStartTimeOffset()
Get 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。- Returns:
- StartTimeOffset 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。
-
setStartTimeOffset
public void setStartTimeOffset(Long StartTimeOffset)
Set 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。- Parameters:
StartTimeOffset- 查询范围起始时间相对于告警执行时间的偏移,单位为分钟,取值为非正,最大值为0,最小值为-1440。
-
getEndTimeOffset
public Long getEndTimeOffset()
Get 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。- Returns:
- EndTimeOffset 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
-
setEndTimeOffset
public void setEndTimeOffset(Long EndTimeOffset)
Set 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。- Parameters:
EndTimeOffset- 查询范围终止时间相对于告警执行时间的偏移,单位为分钟,取值为非正,须大于StartTimeOffset,最大值为0,最小值为-1440。
-
-