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 Offset of the query end time from the alarm execution time in minutes.
|
String |
getLogsetId()
Get Logset ID
|
Long |
getNumber()
Get Monitoring object number, which is incremental from 1.
|
String |
getQuery()
Get Query statement
|
Long |
getStartTimeOffset()
Get Offset of the query start time from the alarm execution time in minutes.
|
String |
getTopicId()
Get Log topic ID
|
void |
setEndTimeOffset(Long EndTimeOffset)
Set Offset of the query end time from the alarm execution time in minutes.
|
void |
setLogsetId(String LogsetId)
Set Logset ID
|
void |
setNumber(Long Number)
Set Monitoring object number, which is incremental from 1.
|
void |
setQuery(String Query)
Set Query statement
|
void |
setStartTimeOffset(Long StartTimeOffset)
Set Offset of the query start time from the alarm execution time in minutes.
|
void |
setTopicId(String TopicId)
Set Log topic 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
- Log topic IDpublic String getQuery()
public void setQuery(String Query)
Query
- Query statementpublic Long getNumber()
public void setNumber(Long Number)
Number
- Monitoring object number, which is incremental from 1.public Long getStartTimeOffset()
public void setStartTimeOffset(Long StartTimeOffset)
StartTimeOffset
- Offset of the query start time from the alarm execution time in minutes. The value cannot be positive. Value range: -1440–0.public Long getEndTimeOffset()
public void setEndTimeOffset(Long EndTimeOffset)
EndTimeOffset
- Offset of the query end time from the alarm execution time in minutes. The value cannot be positive and must be greater than `StartTimeOffset`. Value range: -1440–0.public String getLogsetId()
public void setLogsetId(String LogsetId)
LogsetId
- Logset IDCopyright © 2023. All rights reserved.